Rewritten the expression parser, tldr that '.' is actually right associative binary operator, I brain farted really hard this time
This commit is contained in:
@@ -664,7 +664,7 @@ token_kind_string(Token_Kind kind){
|
||||
case TK_Neg: return "~"_s;
|
||||
case TK_Not: return "!"_s;
|
||||
case TK_OpenParen: return "("_s;
|
||||
case TK_CloseParen: return " "_s;
|
||||
case TK_CloseParen: return ")"_s;
|
||||
case TK_OpenBrace: return "{"_s;
|
||||
case TK_CloseBrace: return "}"_s;
|
||||
case TK_OpenBracket: return "["_s;
|
||||
|
||||
Reference in New Issue
Block a user