mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixing a case of adding to error nodes
This commit is contained in:
parent
0cefe95600
commit
ed1cf60bb9
1 changed files with 1 additions and 0 deletions
|
@ -8124,6 +8124,7 @@ BfAstNode* BfReducer::CreateTopLevelObject(BfTokenNode* tokenNode, BfAttributeDi
|
|||
return typeDeclaration;
|
||||
}
|
||||
|
||||
AddErrorNode(tokenNode, false);
|
||||
Fail("Unexpected token", tokenNode);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue