tock-mirror/testcases/ambiguity-subscript.occ
Adam Sampson c627214727 Resolve the v[s] ambiguity outside the parser.
This removes the last use of typeOf* from the parser.
2008-04-07 21:36:21 +00:00

13 lines
116 B
Plaintext

DATA TYPE FOO
RECORD
INT x:
:
PROC P ()
INT x:
SEQ
FOO v:
x := v[x]
[1]INT v:
x := v[x]
: