feat(lexer): Scan dot
This commit is contained in:
parent
f72501fde2
commit
3e80aee0db
6 changed files with 67 additions and 33 deletions
5
src/lexer/Error.kt
Normal file
5
src/lexer/Error.kt
Normal file
|
@ -0,0 +1,5 @@
|
|||
package lexer
|
||||
|
||||
class Error(message: String, position: LexerPosition) : Exception("""
|
||||
Error at ${position.line}:${position.column}: $message
|
||||
""".trimIndent())
|
Reference in a new issue