Fixed some reentrant comments.

This commit is contained in:
dtrg 2007-02-20 00:35:37 +00:00
parent 94a7b315e3
commit f9ddb860a9
2 changed files with 3 additions and 3 deletions

View file

@ -860,7 +860,7 @@ store_val(vl, tp)
register struct idf *id = vl->vl_data.vl_idf; register struct idf *id = vl->vl_data.vl_idf;
register struct def *df = id->id_def; register struct def *df = id->id_def;
/* if (df->df_level == L_GLOBAL) { /* } ??? re-examine */ /* if (df->df_level == L_GLOBAL) { // } ??? re-examine */
if (df->df_sc == GLOBAL if (df->df_sc == GLOBAL
|| df->df_sc == EXTERN || df->df_sc == EXTERN
|| df->df_sc == STATIC) { || df->df_sc == STATIC) {
@ -971,7 +971,7 @@ load_val(expr, rlval)
C_lpi(id->id_text); C_lpi(id->id_text);
} }
else else
/* if (df->df_level == L_GLOBAL) { /* } ??? re-examine */ /* if (df->df_level == L_GLOBAL) { // } ??? re-examine */
if ( df->df_sc == GLOBAL if ( df->df_sc == GLOBAL
|| df->df_sc == STATIC || df->df_sc == STATIC
|| df->df_sc == EXTERN) { || df->df_sc == EXTERN) {

View file

@ -78,7 +78,7 @@ code_startswitch(expp)
sh->sh_table = l_table; sh->sh_table = l_table;
/* sh->sh_nrofentries = 0; */ /* sh->sh_nrofentries = 0; */
sh->sh_type = (*expp)->ex_type; /* the expression switched */ sh->sh_type = (*expp)->ex_type; /* the expression switched */
/* sh->sh_entries = (struct case_entry *) 0; /* case-entry list */ /* sh->sh_entries = (struct case_entry *) 0; -- case-entry list */
sh->sh_expr = *expp; sh->sh_expr = *expp;
#ifdef LINT #ifdef LINT
code_expr(sh->sh_expr, RVAL, TRUE, NO_LABEL, NO_LABEL); code_expr(sh->sh_expr, RVAL, TRUE, NO_LABEL, NO_LABEL);