Now properly generates a Struct object

develop.sync-conflict-20210606-150924-O3W7KWN v0.0.3
Tristan B. Kildaire 3 years ago
parent 814b29984c
commit d34dd5b689

@ -396,9 +396,9 @@ public final class Parser
}
/* TODO: Remove this and actually impleent struct's body parsing */
/* TODO: Add Statement[] array, statements, to `generatedStruct` */
/* Generate a new Struct with the given body Statement(s) */
generatedStruct = new Struct(structName);
generatedStruct.addStatements(statements);
/* Expect closing brace (sanity) */
expect(SymbolType.CCURLY, getCurrentToken());

Loading…
Cancel
Save