minor mod: added comment and removed a variable
authorceriel <none@none>
Thu, 9 Nov 1989 12:33:08 +0000 (12:33 +0000)
committerceriel <none@none>
Thu, 9 Nov 1989 12:33:08 +0000 (12:33 +0000)
lang/cem/cemcom.ansi/code.c
lang/cem/cemcom.ansi/eval.c

index d0e75d4..5e1142f 100644 (file)
@@ -68,8 +68,8 @@ init_code(dst_file)
 #ifdef USE_TMP
 #ifdef PREPEND_SCOPES
        C_insertpart(tmp_id = C_getid());
-#endif USE_TMP
 #endif PREPEND_SCOPES
+#endif USE_TMP
 }
 #endif LINT
 
@@ -519,13 +519,12 @@ bss(idf)
 {
        /*      bss() allocates bss space for the global idf.
        */
-       arith size = idf->id_def->df_type->tp_size;
        
 #ifndef        PREPEND_SCOPES
        code_scope(idf->id_text, idf->id_def);
 #endif PREPEND_SCOPES
        C_df_dnam(idf->id_text);
-       C_bss_cst(ATW(size), (arith)0, 1);
+       C_bss_cst(ATW(idf->id_def->df_type->tp_size), (arith)0, 1);
 }
 
 formal_cvt(hasproto,df)
index b0f196c..e4eff91 100644 (file)
@@ -517,6 +517,7 @@ EVAL(expr, val, code, true_label, false_label)
                                else
                                        C_lfr(ATW(tp->tp_size));
                        }
+                       /* ??? set filename and line number ??? */
                        break;
                }
                case '.':