parser: introduce NewError() and ErrPlusPosition() #8

Merged
amery merged 3 commits from pr-amery-error into main 1 year ago

3 Commits

Author SHA1 Message Date
Alejandro Mery 8f3e59ec36 parser: introduce ErrPlusPosition to apply a position offset to a lexer.Error 1 year ago
Alejandro Mery d316031c44 basic: cleanup using parser.NewError() 1 year ago
Alejandro Mery c3883cbb0d parser: introduce NewError() to create lexer.Error using lexer.Position 1 year ago