Back to table

Odd Continuation line indentation

The following is valid µOCCAM. The program tests whether your parser allows for odd continuation line indentation.

Program file: /public/cs3/web/ipptests-phase-1/valid_cont_ind.accept
PROC add(INT x,
 INT y)
  x :=
   x +
   y -- continuation lines can be indented with odd numbers of white space
:

PAR
  SKIP
  STOP