mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-17 00:31:39 -04:00
Change compound literal grammar to match the formal grammar
This commit is contained in:
1 parent
619b3eb1b7
commit
b914dc1f32
2 files changed
-6
No files matched your search
@@ -2039,9 +2039,6 @@ gb_internal Ast *parse_literal_value(AstFile *f, Ast *type) {
|
||||
}
|
||||
|
||||
gb_internal Ast *parse_value(AstFile *f) {
|
||||
if (f->curr_token.kind == Token_OpenBrace) {
|
||||
return parse_literal_value(f, nullptr);
|
||||
}
|
||||
Ast *value;
|
||||
bool prev_allow_range = f->allow_range;
|
||||
f->allow_range = true;
|
||||
|
||||
Reference in new issue
Block a user