mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
Eliminate a null pointer dereference when processing prototyped function declarators.
This should normally have been harmless, but might possibly give an error in obscure circumstances.
This commit is contained in:
parent
2fb075ce58
commit
b88dc5b39c
@ -1617,8 +1617,8 @@ if checkParms then begin {check for parameter type conflicts}
|
||||
end; {with}
|
||||
end {if}
|
||||
else if doingParameters then
|
||||
if pfunc^.itype^.prototyped then
|
||||
if not doingPrototypes then
|
||||
if not doingPrototypes then
|
||||
if pfunc^.itype^.prototyped then
|
||||
if tPtr^.kind in
|
||||
[enumConst,structType,unionType,definedType,pointerType]
|
||||
then Error(50);
|
||||
|
Loading…
Reference in New Issue
Block a user