mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +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) {
|
||||
|
||||
SymEntry* Sym;
|
||||
|
||||
/* The new scope has a name. Remember it. */
|
||||
strcpy (Name, SVal);
|
||||
|
||||
/* 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 */
|
||||
NextTok ();
|
||||
|
Loading…
Reference in New Issue
Block a user