mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Improve value parsing
Parse values as different AST nodes rather than just strings. This allows for better validation and will eventually make expressions possible.
This commit is contained in:
parent
5f0eef5f2e
commit
80b5698533
16 changed files with 352 additions and 138 deletions
|
@ -294,7 +294,7 @@ class Statement(ParseNode):
|
|||
return False
|
||||
except CompileError as e:
|
||||
ctx.errors.append(e)
|
||||
ctx.set_group_incomplete(True)
|
||||
ctx.set_group_incomplete()
|
||||
return True
|
||||
|
||||
token = ctx.peek_token()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue