Changes between Version 98 and Version 99 of IR
- Timestamp:
- 11/30/15 09:38:23 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IR
v98 v99 28 28 {{{ 29 29 program: block ; 30 block items: typedef* vardecl* fundef* statement*;31 statement: '{' blockitems '}'| basicStmt ;30 block: '{' typedef* vardecl* fundef* statement* '}' ; 31 statement: block | basicStmt ; 32 32 basicStmt: (ID ':')? (simpleStmt | chooseStmt) ; 33 33 simpleStmt: (guardedStmt | primitiveStmt) ('goto' ID)? ; … … 38 38 varopts: '[' varopt+ ']' ; 39 39 varopt: 'input' | 'output' ; 40 fundef: 'fun' funopts? ID '(' paramlist ')' ':' typeName '{' conclause* blockitems '}';40 fundef: 'fun' funopts? ID '(' paramlist ')' ':' typeName conclause* block ; 41 41 funopts: '[' funopt+ ']' ; 42 42 conclause : 'assigns' expr ';'
