aboutsummaryrefslogtreecommitdiff
path: root/compiler/syntax_error.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add code point expression (Meet RL1.1 of UTS #18)Ryo Nihei2021-04-241-0/+3
| | | | | | | | \u{hex string} matches a character has the code point represented by the hex string. For instance, \u{3042} matches hiragana あ (U+3042). The hex string must have 4 or 6 digits. This feature meets RL1.1 of UTS #18. RL1.1 Hex Notation: https://unicode.org/reports/tr18/#RL1.1
* Change the lexical specs of regexp and define concrete syntax error valuesRyo Nihei2021-04-171-0/+37
* Make the lexer treat ']' as an ordinary character in default mode * Define values of the syntax error type that represents error information concretely