1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

Fix for variableless main().

This commit is contained in:
Laubzega 2018-09-21 01:17:29 -07:00 committed by Oliver Schmidt
parent 581c46c213
commit f5b3c5351e

View File

@ -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 ();