mirror of
https://github.com/cc65/cc65.git
synced 2024-07-29 12:29:11 +00:00
Fix for variableless main().
This commit is contained in:
parent
581c46c213
commit
f5b3c5351e
@ -523,6 +523,7 @@ void NewFunc (SymEntry* Func)
|
|||||||
|
|
||||||
/* Need a starting curly brace */
|
/* Need a starting curly brace */
|
||||||
ConsumeLCurly ();
|
ConsumeLCurly ();
|
||||||
|
CollAppend (&CurrentFunc->LocalsBlockStack, (void *)CurrentFunc->LocalsBlockCount);
|
||||||
|
|
||||||
/* Parse local variable declarations if any */
|
/* Parse local variable declarations if any */
|
||||||
DeclareLocals ();
|
DeclareLocals ();
|
||||||
|
Loading…
Reference in New Issue
Block a user