Back to table

Tabs in a statement

The following is invalid µOCCAM. This tests the very picky rule that disallows tabs within statements.

Program file: /public/cs3/web/ipptests-phase-1/tab-in-statement.reject
-- It seems OK, but wait!
-- There's a tab in the second assignment statement, and that's not allowed
-- (only spaces used in the first assignment)
SEQ
  this.is.OK  := just.lots.of.spaces    + no.tabs
  this.is.bad := next.character.is.tab	+ that.is.not.allowed