Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty class usage #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix empty class usage #2

wants to merge 2 commits into from

Conversation

Adanteh
Copy link

@Adanteh Adanteh commented Sep 10, 2019

No description provided.

self.next()
self.parseWhitespace()
self.parsePropertyName()
self.parseWhitespace()


current = self.current()

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to remove the trailing spaces here

elif current == SEMICOLON:
value = self.dict()
self.parseWhitespace()

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance you could add a test for this case? I'm slowly starting to think about merging this ;)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahem! ;)

@overfl0
Copy link
Owner

overfl0 commented Mar 30, 2021

https://www.youtube.com/watch?v=Vyw6n1EKlww

Good morning! Nice day for adding tests, isn't it? 😀
@Adanteh

@overfl0
Copy link
Owner

overfl0 commented Apr 26, 2024

Hey, @Adanteh! maybe you've changed your mind 3 years later? 🤔

@reppiz
Copy link

reppiz commented May 8, 2024

Are you still wanting to test this?

@overfl0
Copy link
Owner

overfl0 commented May 8, 2024

I have rewritten Adanteh's code myself and added my own tests instead of reusing his PR.
I'll keep this PR open in case someone wants to add macro parsing, as a reference, although this is pretty old code by now so I don't know how many changes it will need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants