Fixed bug with `parseStruct`, now it doesn't return null

entity_declaration_type_checking
Tristan B. Kildaire 2021-05-04 19:18:30 +02:00
parent 04c902a2c7
commit fd05ab1ef8
1 changed files with 4 additions and 0 deletions

View File

@ -337,6 +337,10 @@ public final class Parser
}
/* TODO: Remove this and actually impleent struct's body parsing */
generatedStruct = new Struct(structName);
/* Expect closing brace (sanity) */
expect(SymbolType.CCURLY, getCurrentToken());