The following is Invalid µOCCAM. This program tests for TAB's after spaces with is invalid and for comments within continuation lines
/public/cs3/web/ipptests-phase-1/Tabs.reject
-- this is an invalid program SEQ PAR PAR SEQ SEQ SEQ SEQ --using TAB's now SEQ--how close or how far away from the token, the comment is shouldn't matter SEQ -- this looks like an outdented SEQ but it's an indent followed by a TAB -- This is illegal!! --This should work for continuation lines too PAR varIAB.L.E.1 := -- comments CANNOT occur here E1.1st.exp <= E2.2nd.EXP... -- this line has 3 spaces followed by two tabs. This is invalid -- comments -- should -- be allowed here --