public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9d6cc1
)
minor mod: added comment and removed a variable
author
ceriel
<none@none>
Thu, 9 Nov 1989 12:33:08 +0000
(12:33 +0000)
committer
ceriel
<none@none>
Thu, 9 Nov 1989 12:33:08 +0000
(12:33 +0000)
lang/cem/cemcom.ansi/code.c
patch
|
blob
|
history
lang/cem/cemcom.ansi/eval.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/code.c
b/lang/cem/cemcom.ansi/code.c
index
d0e75d4
..
5e1142f
100644
(file)
--- a/
lang/cem/cemcom.ansi/code.c
+++ b/
lang/cem/cemcom.ansi/code.c
@@
-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)
diff --git
a/lang/cem/cemcom.ansi/eval.c
b/lang/cem/cemcom.ansi/eval.c
index
b0f196c
..
e4eff91
100644
(file)
--- a/
lang/cem/cemcom.ansi/eval.c
+++ b/
lang/cem/cemcom.ansi/eval.c
@@
-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 '.':