mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-04 01:49:05 +00:00
Added number literals to Lexer
Also fixed bugs. I really should refactor the mess that is this Lexer.
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
Started lexing file
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
Token::IDENTIFIER: int
|
||||
Token::FUNCTION
|
||||
Token::IDENTIFIER: main
|
||||
Token::IDENTIFIER: return
|
||||
Token::IDENTIFIER: a
|
||||
Token::NUMBER_LITERAL: 34
|
||||
Token::ADD
|
||||
Token::IDENTIFIER: b
|
||||
Token::NUMBER_LITERAL: 4
|
||||
|
||||
Reference in New Issue
Block a user