Last change
on this file since 356 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
280 bytes
|
Line | |
---|
1 | { This program is correct wrt the context-free grammar;
|
---|
2 | in the context-sensitive grammar it is incorrect.
|
---|
3 | }
|
---|
4 |
|
---|
5 | program rontest;
|
---|
6 |
|
---|
7 | var
|
---|
8 | rontest,
|
---|
9 | ray : integer;
|
---|
10 | var raytest : real;
|
---|
11 | var rontest : real; { declared earlier }
|
---|
12 |
|
---|
13 | begin
|
---|
14 | ray := 35;
|
---|
15 | ray := 33;
|
---|
16 | rontest := -1.5
|
---|
17 | end
|
---|
18 |
|
---|
19 | .
|
---|
Note:
See
TracBrowser
for help on using the repository browser.