public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ebe2a7
)
corrected the treatment of static functions declared on non-global level
author
erikb
<none@none>
Mon, 10 Nov 1986 09:16:27 +0000
(09:16 +0000)
committer
erikb
<none@none>
Mon, 10 Nov 1986 09:16:27 +0000
(09:16 +0000)
lang/cem/cemcom/code.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom/code.c
b/lang/cem/cemcom/code.c
index
665dc38
..
696c99b
100644
(file)
--- a/
lang/cem/cemcom/code.c
+++ b/
lang/cem/cemcom/code.c
@@
-338,6
+338,10
@@
code_declaration(idf, expr, lvl, sc)
/* STATIC, EXTERN, GLOBAL, IMPLICIT, AUTO or REGISTER */
switch (def_sc) {
case STATIC:
+ if (def->df_type->tp_fund == FUNCTION) {
+ /* should produce "inp $function" ??? */
+ break;
+ }
/* they are handled on the spot and get an
integer label in EM.
*/