mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-27 07:31:35 +00:00
fix incorrect @1
This commit is contained in:
parent
6cfeafc91a
commit
02d81fb95b
@ -443,7 +443,7 @@ resource_attributes : %empty { $$ = [](ResSpec s){ return s; }; }
|
||||
;
|
||||
|
||||
%type <CompoundExprPtr> resource_body resource_body1;
|
||||
resource_body : %empty { $$ = std::make_shared<CompoundExpr>(@1); }
|
||||
resource_body : %empty { $$ = std::make_shared<CompoundExpr>(yy::location()); }
|
||||
| resource_body1 { $$ = $1; $$->location = @1; }
|
||||
;
|
||||
resource_body1 : resource_item { $$ = std::make_shared<CompoundExpr>(@1); $$->addItem($1); }
|
||||
|
Loading…
Reference in New Issue
Block a user