-> Operator has very low precedence, size_of, align_of, length_of expressions
This commit is contained in:
@@ -163,7 +163,9 @@ Intern_String keyword_true;
|
||||
Intern_String keyword_false;
|
||||
Intern_String keyword_for;
|
||||
Intern_String keyword_pass;
|
||||
Intern_String keyword_cast;
|
||||
Intern_String keyword_sizeof;
|
||||
Intern_String keyword_alignof;
|
||||
Intern_String keyword_lengthof;
|
||||
Intern_String keyword_enum;
|
||||
|
||||
Intern_String intern_void;
|
||||
@@ -202,7 +204,9 @@ lex_init(Allocator *token_string_arena, Allocator *map_allocator, Lexer *l){
|
||||
|
||||
keyword_struct= l->intern("struct"_s);
|
||||
keyword_union = l->intern("union"_s);
|
||||
keyword_cast = l->intern("cast"_s);
|
||||
keyword_sizeof = l->intern("size_of"_s);
|
||||
keyword_lengthof = l->intern("length_of"_s);
|
||||
keyword_alignof = l->intern("align_of"_s);
|
||||
keyword_true = l->intern("true"_s);
|
||||
keyword_false = l->intern("false"_s);
|
||||
keyword_return = l->intern("return"_s);
|
||||
|
||||
Reference in New Issue
Block a user