You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.
Currently, the template system doesn't do errors very well. It will tell template creators if an error exists but not where.
Solution
This is a simple edit to the lexer and parser. Tokens need to keep hold of the line and column of where they are so the parser can use that information when creating BadStatements.
Checklist
Edit lexer to store line and column count
Edit token to store line and column count
Added line and column count to tokens during lexing
Add line and column count to BadStatement struct
The text was updated successfully, but these errors were encountered:
hrszpuk
changed the title
Template error system needs line and count information. This is a simple edit to the lexer and parser. Tokens need to keep hold of the line and column of where they are so the parser can use that information when creating BadStatements.
Template error system needs line and count information.
Jan 20, 2023
Problem
Currently, the template system doesn't do errors very well. It will tell template creators if an error exists but not where.
Solution
This is a simple edit to the lexer and parser. Tokens need to keep hold of the line and column of where they are so the parser can use that information when creating
BadStatements
.Checklist
The text was updated successfully, but these errors were encountered: