public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e4c3d
)
Remove prototype idfs in casts!
author
ceriel
<none@none>
Tue, 18 Oct 1994 13:43:50 +0000
(13:43 +0000)
committer
ceriel
<none@none>
Tue, 18 Oct 1994 13:43:50 +0000
(13:43 +0000)
lang/cem/cemcom.ansi/declar.g
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/declar.g
b/lang/cem/cemcom.ansi/declar.g
index
487f55a
..
a60851b
100644
(file)
--- a/
lang/cem/cemcom.ansi/declar.g
+++ b/
lang/cem/cemcom.ansi/declar.g
@@
-578,7
+578,9
@@
abstract_declarator(register struct declarator *dc;)
/* empty */
]
')'
- {add_decl_unary(dc, FUNCTION, 0, (arith)0, NO_PARAMS, pl);}
+ {add_decl_unary(dc, FUNCTION, 0, (arith)0, NO_PARAMS, pl);
+ if (pl) remove_proto_idfs(pl);
+ }
|
arrayer(&count)
{add_decl_unary(dc, ARRAY, 0, count, NO_PARAMS, NO_PROTO);}