Changes between Version 98 and Version 99 of IR


Ignore:
Timestamp:
11/30/15 09:38:23 (10 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v98 v99  
    2828{{{
    2929program: block ;
    30 blockitems: typedef* vardecl* fundef* statement* ;
    31 statement: '{' blockitems '}' | basicStmt ;
     30block: '{' typedef* vardecl* fundef* statement* '}' ;
     31statement: block | basicStmt ;
    3232basicStmt:  (ID ':')? (simpleStmt | chooseStmt) ;
    3333simpleStmt: (guardedStmt | primitiveStmt) ('goto' ID)? ;
     
    3838varopts: '[' varopt+ ']' ;
    3939varopt: 'input' | 'output' ;
    40 fundef:  'fun' funopts? ID '(' paramlist ')' ':' typeName '{' conclause* blockitems '}' ;
     40fundef:  'fun' funopts? ID '(' paramlist ')' ':' typeName conclause* block ;
    4141funopts: '[' funopt+ ']' ;
    4242conclause : 'assigns' expr ';'