Prohibit "typedef" in function definitions.

This commit is contained in:
Stephen Heumann 2023-03-19 20:16:36 -05:00
parent cbf32e5b71
commit 3b6f73c277
1 changed files with 1 additions and 1 deletions

View File

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