]> git.sur5r.net Git - cc65/blobdiff - src/cc65/locals.c
Use gcc function attributes, fix several format related problems
[cc65] / src / cc65 / locals.c
index 1649edcbedf98c50d3bae78f9a3d0b35e39d74e7..3cf6c61276de5dff567003145b51c89d748105e9 100644 (file)
@@ -182,6 +182,9 @@ static void ParseOneDecl (const DeclSpec* Spec)
                    /* Allocate previously reserved local space */
                    AllocLocalSpace (CurrentFunc);
 
+                   /* Switch to the code segment. */
+                   g_usecode ();
+
                    /* Skip the '=' */
                    NextToken ();