Back to table

Indents

The following is invalid µOCCAM. This program makes sure your program keeps track of indentation, the last STOP is not indented enough, I have kept the rest simple to ensure your lexers will not reject it due to other factors

Program file: /public/cs3/web/ipptests-phase-1/inden.reject
SEQ
  STOP
  SKIP
  PAR
    STOP
    SEQ
      value ()
    SKIP
STOP