From 1dec56074385608d9d8cd5be686f3aa63db56aca Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 22 Dec 2003 20:38:14 +0000 Subject: [PATCH] Fixed a C99 issue git-svn-id: svn://svn.cc65.org/cc65/trunk@2816 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/pseudo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c index c0fcfcab8..1388cdadc 100644 --- a/src/ca65/pseudo.c +++ b/src/ca65/pseudo.c @@ -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 (); -- 2.39.5