-
|
If I have this grammar and try to parse this file I get an error "Expecting end of file but found 'person'". If I replace the file parses successfully. What am I missing something about Langium because I would have expected those to be equivalent? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@drhagen I've created issue #1358 from this, see there for more info on this. As for the behavior difference, its a bug, since we didn't expect people to use data type rule without property assignment. That breaks a few things in the parser. Using this grammar instead works as expected: |
Beta Was this translation helpful? Give feedback.

@drhagen I've created issue #1358 from this, see there for more info on this.
As for the behavior difference, its a bug, since we didn't expect people to use data type rule without property assignment. That breaks a few things in the parser. Using this grammar instead works as expected: