Fixed some reentrant comments.
This commit is contained in:
parent
94a7b315e3
commit
f9ddb860a9
|
@ -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) {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue