tock-mirror/testcases/initial.occ
Adam Sampson f2352019ab Implement INITIAL and RESULT abbreviations.
This adds the passes to transform INITIAL into the correct form.

Fixes #42.
2008-06-03 14:57:24 +00:00

9 lines
144 B
Plaintext

PROC P ()
INITIAL INT x IS 1234:
INITIAL [12]BYTE cs IS "hello, world":
SEQ
SEQ i = 0 FOR SIZE cs
cs[i] := 'A'
x := x + 1
: