Fixed bug with `parseStruct`, now it doesn't return null
parent
04c902a2c7
commit
fd05ab1ef8
|
@ -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 closing brace (sanity) */
|
||||||
expect(SymbolType.CCURLY, getCurrentToken());
|
expect(SymbolType.CCURLY, getCurrentToken());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue