Fix nesting.occ so it has a valid TLP signature.

This commit is contained in:
Adam Sampson 2008-05-15 12:23:44 +00:00
parent 0106e6bbb7
commit 04da66531f

View File

@ -1,15 +1,18 @@
PROC outer (CHAN OF INT channel) PROC p ()
VAL INT constant IS 42: PROC outer (CHAN OF INT channel)
INT count: VAL INT constant IS 42:
PROC inner1 () INT count:
count := count + constant PROC inner1 ()
count := count + constant
:
PROC inner2 (VAL INT count)
SEQ i = 0 FOR constant
channel ! count + i
:
SEQ
count := 0
inner1 ()
inner2 (count)
: :
PROC inner2 (VAL INT count) SKIP
SEQ i = 0 FOR constant
channel ! count + i
:
SEQ
count := 0
inner1 ()
inner2 (count)
: :