aboutsummaryrefslogtreecommitdiff
path: root/driver/lexer/lexer_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Namespace packages with "urubu/"EuAndreh2024-12-101-932/+0
|
* Start building test filesEuAndreh2024-12-101-2/+2
|
* Add byte position to tokensRyo Nihei2022-11-131-239/+253
|
* Set token positions for the EOF symbolRyo Nihei2022-11-121-1/+1
| | | | | | vartan intentionally had not set positional information for the EOF symbol in a token because the corresponding character does not exist in the source code. However, to be able to include the positional information in a syntax error message when a syntax error occurs due to the detection of the EOF symbol during parsing, this commit sets the position next to the last character in the source code as the position of the EOF symbol.
* Import source code of lexer generatorRyo Nihei2022-11-101-0/+918
From: https://github.com/nihei9/maleeni