You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is more practical to have these restrictions in semantic analyzer than in parser. SA can check is it a function/declaration/definition, which flags it should have, etc.
This will be done after base of semantic analyzer works properly.