mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-08-15 07:27:27 +00:00
Prohibit "typedef" in function definitions.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user