Skip to content
Discussion options

You must be logged in to vote

Yes, that feature is working as intended, although it might make sense to revise it for terminals. The issue is that language features using the boolean flag assignment feature (i.e. isExtern?="extern") require this auto assignment to false.

We usually wrap the terminals inside of Expression objects (that can be undefined) for this kind of language feature. See the langium-lox example language.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by JanikNex
Comment options

You must be logged in to vote
1 reply
@msujew
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants