]> git.sur5r.net Git - cc65/blobdiff - src/cc65/locals.c
Working on the new backend
[cc65] / src / cc65 / locals.c
index 25fbf81f810331b87a6f51b6f24bc3fb11260a09..02841b9dfd35cd297c497efb2fa5df346dd7943f 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000     Ullrich von Bassewitz                                        */
-/*              Wacholderweg 14                                              */
-/*              D-70597 Stuttgart                                            */
-/* EMail:       uz@musoftware.de                                             */
+/* (C) 2000-2001 Ullrich von Bassewitz                                       */
+/*               Wacholderweg 14                                             */
+/*               D-70597 Stuttgart                                           */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -229,7 +229,7 @@ static void ParseOneDecl (const DeclSpec* Spec)
                g_usebss ();
 
                /* Define the variable label */
-               SymData = GetLabel ();
+               SymData = GetLocalLabel ();
                g_defloclabel (SymData);
 
                /* Reserve space for the data */
@@ -279,7 +279,7 @@ static void ParseOneDecl (const DeclSpec* Spec)
                }
 
                /* Define the variable label */
-               SymData = GetLabel ();
+               SymData = GetLocalLabel ();
                g_defloclabel (SymData);
 
                /* Skip the '=' */
@@ -297,7 +297,7 @@ static void ParseOneDecl (const DeclSpec* Spec)
                g_usebss ();
 
                /* Define the variable label */
-               SymData = GetLabel ();
+               SymData = GetLocalLabel ();
                g_defloclabel (SymData);
 
                /* Reserve space for the data */