mirror of
https://github.com/cc65/cc65.git
synced 2025-08-10 20:25:20 +00:00
Fix for variableless main().
This commit is contained in:
@@ -523,6 +523,7 @@ void NewFunc (SymEntry* Func)
|
||||
|
||||
/* Need a starting curly brace */
|
||||
ConsumeLCurly ();
|
||||
CollAppend (&CurrentFunc->LocalsBlockStack, (void *)CurrentFunc->LocalsBlockCount);
|
||||
|
||||
/* Parse local variable declarations if any */
|
||||
DeclareLocals ();
|
||||
|
Reference in New Issue
Block a user