Prohibit "typedef" in function definitions.

This commit is contained in:
Stephen Heumann 2023-03-19 20:16:36 -05:00
parent cbf32e5b71
commit 3b6f73c277

View File

@ -3942,7 +3942,7 @@ if isFunction then begin
{local declaration} {local declaration}
else begin else begin
if not first then if (not first) or (declSpecifiers.storageClass = typedefsy) then
Error(22); Error(22);
if variable^.state = defined then if variable^.state = defined then
Error(42); Error(42);