public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
132e8d0
)
did not compile with USE_TMP not defined
author
ceriel
<none@none>
Mon, 2 May 1988 14:40:35 +0000
(14:40 +0000)
committer
ceriel
<none@none>
Mon, 2 May 1988 14:40:35 +0000
(14:40 +0000)
lang/cem/cemcom/code.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom/code.c
b/lang/cem/cemcom/code.c
index
13bde95
..
9068c9a
100644
(file)
--- a/
lang/cem/cemcom/code.c
+++ b/
lang/cem/cemcom/code.c
@@
-43,8
+43,8
@@
int fp_used;
#ifdef USE_TMP
static int tmp_id;
static int pro_id;
-static char *pro_name;
#endif USE_TMP
+static char *pro_name;
extern char options[];
char *symbol2str();
@@
-199,10
+199,10
@@
begin_proc(name, def) /* to be called when entering a procedure */
tp = tp->tp_up;
func_tp = tp;
func_size = ATW(tp->tp_size);
+ pro_name = name;
#ifndef USE_TMP
C_pro_narg(name);
#else
- pro_name = name;
C_insertpart(pro_id = C_getid());
#endif
if (is_struct_or_union(tp->tp_fund)) {