Fixed bug in function return code
authorceriel <none@none>
Tue, 26 Mar 1991 13:38:36 +0000 (13:38 +0000)
committerceriel <none@none>
Tue, 26 Mar 1991 13:38:36 +0000 (13:38 +0000)
lang/pc/comp/code.c
lang/pc/comp/tokenname.c

index 5f87847..c9e896f 100644 (file)
@@ -257,7 +257,7 @@ CodeEndBlock(df, StackAdjustment)
                        }
                        if( tp->tp_size == word_size )
                                C_lol(-tp->tp_size);
-                       if( tp->tp_size == 2 * word_size )
+                       else if( tp->tp_size == 2 * word_size )
                                C_ldl(-tp->tp_size);
                        else {
                                C_lal(-tp->tp_size);
index 4c9d6ba..3f1e3fa 100644 (file)
@@ -11,6 +11,7 @@
        Also, the "symbol2str.c" file is produced from this file.
 */
 
+#ifdef ____
 struct tokenname tkspec[] =    {       /* the names of the special tokens */
        {IDENT, "identifier"},
        {STRING, "string"},
@@ -27,6 +28,7 @@ struct tokenname tkcomp[] =   {       /* names of the composite tokens */
        {BECOMES, ":="},
        {0, ""}
 };
+#endif /* ____ */
 
 struct tokenname tkidf[] =     {       /* names of the identifier tokens */
        {AND, "and"},