mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 02:30:44 +00:00
Fixed a C99 issue
git-svn-id: svn://svn.cc65.org/cc65/trunk@2816 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
3cf7f0072b
commit
1dec560743
@ -1307,11 +1307,13 @@ static void DoProc (void)
|
|||||||
|
|
||||||
if (Tok == TOK_IDENT) {
|
if (Tok == TOK_IDENT) {
|
||||||
|
|
||||||
|
SymEntry* Sym;
|
||||||
|
|
||||||
/* The new scope has a name. Remember it. */
|
/* The new scope has a name. Remember it. */
|
||||||
strcpy (Name, SVal);
|
strcpy (Name, SVal);
|
||||||
|
|
||||||
/* Search for the symbol, generate a new one if needed */
|
/* Search for the symbol, generate a new one if needed */
|
||||||
SymEntry* Sym = SymFind (CurrentScope, Name, SYM_ALLOC_NEW);
|
Sym = SymFind (CurrentScope, Name, SYM_ALLOC_NEW);
|
||||||
|
|
||||||
/* Skip the scope name */
|
/* Skip the scope name */
|
||||||
NextTok ();
|
NextTok ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user