minor mod: added comment and removed a variable

This commit is contained in:
ceriel 1989-11-09 12:33:08 +00:00
parent d9d6cc127f
commit cfc1d926bf
2 changed files with 3 additions and 3 deletions

View file

@ -68,8 +68,8 @@ init_code(dst_file)
#ifdef USE_TMP #ifdef USE_TMP
#ifdef PREPEND_SCOPES #ifdef PREPEND_SCOPES
C_insertpart(tmp_id = C_getid()); C_insertpart(tmp_id = C_getid());
#endif USE_TMP
#endif PREPEND_SCOPES #endif PREPEND_SCOPES
#endif USE_TMP
} }
#endif LINT #endif LINT
@ -519,13 +519,12 @@ bss(idf)
{ {
/* bss() allocates bss space for the global idf. /* bss() allocates bss space for the global idf.
*/ */
arith size = idf->id_def->df_type->tp_size;
#ifndef PREPEND_SCOPES #ifndef PREPEND_SCOPES
code_scope(idf->id_text, idf->id_def); code_scope(idf->id_text, idf->id_def);
#endif PREPEND_SCOPES #endif PREPEND_SCOPES
C_df_dnam(idf->id_text); 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) formal_cvt(hasproto,df)

View file

@ -517,6 +517,7 @@ EVAL(expr, val, code, true_label, false_label)
else else
C_lfr(ATW(tp->tp_size)); C_lfr(ATW(tp->tp_size));
} }
/* ??? set filename and line number ??? */
break; break;
} }
case '.': case '.':