Changes between Version 15 and Version 16 of CIVLite


Ignore:
Timestamp:
09/28/23 12:57:19 (3 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CIVLite

    v15 v16  
    2222constant: INT | 'null' | '{' (constant (',' constant)*)? '}'
    2323string: '"' .* '"'
    24 type: 'int' | 'proc' | type[] | 'void'
     24type: 'int' | 'proc' | type[]
    2525typedvar: type ID
    2626paramdecl: 'param' typedvar ('=' constant)? ';'
    2727vardecl: typedvar ';'
    2828formallist: typedvar (',' typedvar)*
    29 function: type ID '(' formallist? ')' '{' (typedvar ';')* labelnode* label? '}'
     29function: (type | 'void') ID '(' formallist? ')' '{' (typedvar ';')* labelnode* label? '}'
    3030label: ID ':'
    3131labelnode: label? node