- converted a few more DECORATE files.
- started with the AST converter. So far it only deals with direct function calls with simple constants as parameters. - added an error condition for the defaults block to get rid of some asserts.
This commit is contained in:
parent
7e8d7eb2ec
commit
7de683f9f5
18 changed files with 881 additions and 681 deletions
|
|
@ -565,6 +565,7 @@ default_statement_list(X) ::= default_statement_list(X) default_statement(B).
|
|||
|
||||
|
||||
default_statement(X) ::= SEMICOLON. { X = NULL; }
|
||||
default_statement(X) ::= error SEMICOLON. { X = NULL; }
|
||||
//default_statement(X) ::= assign_statement(A) SEMICOLON. { X = A; /*X-overwrites-A*/ }
|
||||
default_statement(X) ::= property_statement(A). { X = A; /*X-overwrites-A*/ }
|
||||
default_statement(X) ::= flag_statement(A). { X = A; /*X-overwrites-A*/ }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue