-
when i define a langium file and execute npm run langium:generate,this error occured,I want to know what the reason is |
Beta Was this translation helpful? Give feedback.
Answered by
zrwsmd
Mar 28, 2024
Replies: 1 comment 2 replies
-
Can you share your grammar? The error you're seeing is likely related to this issue: #1246. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if i write like this
entry st:
'PROGRAM' name=Identifier
(defenitions+=Definition)*
(stStatements+=Statement_list)
;
seems have this error
but if i write like
entry st:
'PROGRAM' name=Identifier
(stStatements+=Statement_list)
(defenitions+=Definition)*
;
it works well.
i guess it because * operator represent zero or many match,if it order first,can not decide it number,so report Maximum call stack size exceeded error