Age | Commit message (Collapse) | Author |
|
Laid groundwork for statements and AST trees.
Currently return values are not supported, expression parsing must be implemented first.
Also stopped dumping parsed type definitions.
Signed-off-by: Quinn Stephens <quinn@osmora.org>
|
|
Signed-off-by: Quinn Stephens <quinn@osmora.org>
|
|
Signed-off-by: Quinn Stephens <quinn@osmora.org>
|
|
Switch statement makes more sense here.
Signed-off-by: Quinn Stephens <quinn@osmora.org>
|
|
Removed type_new() since it was only used once.
Removed debug output from parse_type_ref().
Signed-off-by: Quinn Stephens <quinn@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
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>
|
|
Signed-off-by: Quinn Stephens <quinn@osmora.org>
|
|
Signed-off-by: Quinn Stephens <quinn@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|