Forgetting to specify context-free start-symbols
in SDF3 leads to unclear parsing errors
#113
Labels
C-Bug
Category: bug. Not working as expected
Summary
If the spoofaxc is configured to use a specific start symbol, but there is no
[context-free] start-symbols
entry for that symbol in the SDF3, parsing will fail with unclear errors.What you did
SDF3:
spoofaxc.cfg
:Test file:
What you expected to happen
Either an error during parsing that the start-symbol does not exist/was not registered as such, or parsing to succeed into
Module("foo", [])
.What actually happened
Context
The text was updated successfully, but these errors were encountered: