Error in defining closing parenthesis in grammar for C #1046
Unanswered
Tanmay-Vaghale
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a simple grammar for c language. However, the lark parser is throwing an error as "No terminal matches ')' in the current parser context" even though I considered closing parenthesis as a terminal in the grammar rules. In some of the examples of the lark, the closing parenthesis was declared as terminals in the production rules. Is there any solution to overcome this error?
Beta Was this translation helpful? Give feedback.
All reactions