mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-02 04:31:25 +00:00
Prohibit "typedef" in function definitions.
This commit is contained in:
parent
cbf32e5b71
commit
3b6f73c277
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user