Conversation
This reverts commit 3fc5eda.
…s should be just ignored)
|
I opened #124 before I saw that this exists. I think you're implementation is better 👍 , so #124 should be closed in favor of this. Small note:
|
|
There's one issue that relates to #69, which isn't special to this PR, but gets worse as more keywords are added. Previously, CSS such as syntax.foo { color: red; }gets correctly parsed as an element+class selector with a declaration list. Now that (same for e.g. Again, this issue already exists with other keywords, but I wanted to bring attention to this. This could be an argument for not adding additional keywords; and parsing the contents of the rule as a general declaration list (like #124). And handling everything else when converting to the parsed AST to the domain model (
|
The |
Yes this can be solved by introducing a dedicated lexer state for the property rule |
bf0f52a to
37f1315
Compare
I know, I only meant it should be added to produce a parser error, like it's already in various places in the jjt grammar. |
Hmm.... i thought i already did that. See |
Yes you did. Sorry for the confusion: I added a new production that does not contain |
|
Thanks for taking this on!!! Still recovering from sickness and trying to catch up. Please note that I want to wait for !123 to be sorted out before doing this one - I hope you understand. |
|
@blutorange Do you have an idea why couple of the new unit tests now fail? I already use the build of this branch in a project and there i don't get any errors. Do you have, by any chance, a way to debug? |
Sure no worries. Meanwhile we use it as a local build for our project. With my PRs i just want to make sure to feed back changes/additions/improvements, i have to make to the parser, to make sure it finds its way back into the main stream |


No description provided.