mewmew / uc

A compiler for the µC language.
58 stars 5 forks source link

Unify error handling between the lexer, parser and checker #60

Closed mewmew closed 8 years ago

mewmew commented 8 years ago

Currently the lexer and parser and using byte offsets to refer to error positions, while the checker is using line numbers, with annotated messages from the source text.

Improve consistency between implementations by making the lexer and parser use the same error handling as the checker.

mewmew commented 8 years ago

Marked as a future ambition. Closing for now.