feat(lexer): Comments
This commit is contained in:
parent
dc9e43e9ba
commit
8429733200
3 changed files with 61 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
package lexer
|
||||
|
||||
class Error(message: String, position: LexerPosition) : Exception("""
|
||||
Error at ${position.line}:${position.column}: $message
|
||||
${position.line}:${position.column + 1}: $message
|
||||
""".trimIndent())
|
Reference in a new issue