Add more useful error output #34
Labels
feature
New feature or request
lexical_analyzer
Lexical analysis changes
maybe
Something that is not surely needed to be done or is not required at all
syntax_analyzer
Syntax analysis changes
To print more useful error messages, there is a need to add information about each token where it starts and ends. This information can be stored in each token of lexical analyzer and be passed to syntax analyzer. Syntax analyzer nodes can also contain this information in node attributes to print its error during analysis.
The text was updated successfully, but these errors were encountered: