public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b00154
)
oops, fix for ## operator was wrong
author
eck
<none@none>
Tue, 25 Sep 1990 13:46:59 +0000
(13:46 +0000)
committer
eck
<none@none>
Tue, 25 Sep 1990 13:46:59 +0000
(13:46 +0000)
lang/cem/cemcom.ansi/replace.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/replace.c
b/lang/cem/cemcom.ansi/replace.c
index
8543388
..
dc86f11
100644
(file)
--- a/
lang/cem/cemcom.ansi/replace.c
+++ b/
lang/cem/cemcom.ansi/replace.c
@@
-567,7
+567,7
@@
macro2buffer(repl, idf, args)
ptr++;
} while (*ptr != delim || *ptr == '\0');
add2repl(repl, *ptr++);
- } else if (
func && *ptr == '#'
) {
+ } else if (
*ptr == '#' && (func || *(ptr+1) == '#')
) {
if (*++ptr == '#') {
register int tmpindex;
/* ## - paste operator */