Changes between Version 6 and Version 7 of CIVLite


Ignore:
Timestamp:
09/22/23 07:25:54 (3 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CIVLite

    v6 v7  
    2424constant: INT | 'null' | '{' (constant (',' constant)*)? '}'
    2525
     26string: '"' .* '"'
     27
    2628type: 'int' | 'proc' | type[]
    2729
     
    4143// if goto is missing, goto the next statement
    4244
    43 action: assignment call spawn noop return wait begin_atomic end_atomic assertion
     45action: assignment call spawn noop return wait begin_atomic end_atomic assertion print
    4446
    4547assignment: lval '=' expr ';'
     
    6365assertion: 'assert' expr ';'
    6466
     67print: 'print' exprstrlst ';'
     68
     69exprstrlst: exprstr (',' exprstr)*
     70
     71exprstr: expr | string
     72
    6573exprlist: expr (',' expr)*
    6674