public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb6c5c
)
bug fix in generating prototypes
author
ceriel
<none@none>
Tue, 3 Dec 1991 10:56:40 +0000
(10:56 +0000)
committer
ceriel
<none@none>
Tue, 3 Dec 1991 10:56:40 +0000
(10:56 +0000)
util/LLgen/src/gencode.c
patch
|
blob
|
history
diff --git
a/util/LLgen/src/gencode.c
b/util/LLgen/src/gencode.c
index
b987bc8
..
2c0f780
100644
(file)
--- a/
util/LLgen/src/gencode.c
+++ b/
util/LLgen/src/gencode.c
@@
-470,9
+470,11
@@
getansiparams(mkdef) {
ltext[0] = '\0';
while ((l = gettok()) != ENDDECL) {
- if (delayed) {
- fputc(',', fpars);
- delayed = 0;
+ if (l > 0177 || c_class[l] != ISSPA) {
+ if (delayed) {
+ fputc(',', fpars);
+ delayed = 0;
+ }
}
if ((l == ';' || l == ',') && ltext[0] != '\0') {
/*