This commit is contained in:
peter 1998-11-23 12:41:18 +00:00
parent 977b677877
commit defda2181e
2 changed files with 17 additions and 0 deletions

14
bugs/bug0182.pp Normal file
View File

@ -0,0 +1,14 @@
TYPE Rec = RECORD
x:WORD;
y:WORD;
END;
VAR s:WORD;
r:Rec;
CONST p1:POINTER = @s; { Works fine }
p2:POINTER = @R.x; { illegal expression }
BEGIN
END.

View File

@ -233,3 +233,6 @@ bug0152.pp End value of loop variable must be calculated before loop
bug0163.pp missing <= and >= operators for sets.
bug0169.pp missing new(type) support for not object/class
bug0171.pp missing typecasting in constant expressions
bug0182.pp @record.field doesn't work in constant expr