summaryrefslogtreecommitdiff
path: root/compiler
AgeCommit message (Collapse)Author
2024-11-03[parser] Refactor parse_type()Quinn Stephens
Switch statement makes more sense here. Signed-off-by: Quinn Stephens <quinn@osmora.org>
2024-11-03[parser] Mini-refactor of type parsingQuinn Stephens
Removed type_new() since it was only used once. Removed debug output from parse_type_ref(). Signed-off-by: Quinn Stephens <quinn@osmora.org>
2024-11-02[parser] Improve error handlingQuinn Stephens
parse_enum() and parse_struct() now free all allocated memory in case of an error. They also no longer allow the type to be registered if an error occurs. parse_type() no longer allows/requires semicolons after enum/struct definitions. Signed-off-by: Quinn Stephens <quinn@osmora.org>
2024-11-02More type parsingQuinn Stephens
Signed-off-by: Quinn Stephens <quinn@osmora.org>
2024-11-01Import quark sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>