mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-04 02:30:40 +00:00
Avoid dereferencing nil.
This commit is contained in:
parent
bde70e0885
commit
50e3a8ea30
@ -2618,7 +2618,7 @@ var
|
|||||||
ip := ip^.next;
|
ip := ip^.next;
|
||||||
if ip = nil then
|
if ip = nil then
|
||||||
Error(81);
|
Error(81);
|
||||||
if ip^.anonMemberField then begin
|
if (ip <> nil) and ip^.anonMemberField then begin
|
||||||
PutBackToken(token, false, true);
|
PutBackToken(token, false, true);
|
||||||
token.kind := dotch;
|
token.kind := dotch;
|
||||||
token.class := reservedSymbol;
|
token.class := reservedSymbol;
|
||||||
|
Loading…
Reference in New Issue
Block a user