oops, fix for ## operator was wrong
This commit is contained in:
parent
7b00154c54
commit
5eb4a8d88f
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ macro2buffer(repl, idf, args)
|
||||||
ptr++;
|
ptr++;
|
||||||
} while (*ptr != delim || *ptr == '\0');
|
} while (*ptr != delim || *ptr == '\0');
|
||||||
add2repl(repl, *ptr++);
|
add2repl(repl, *ptr++);
|
||||||
} else if (func && *ptr == '#') {
|
} else if (*ptr == '#' && (func || *(ptr+1) == '#')) {
|
||||||
if (*++ptr == '#') {
|
if (*++ptr == '#') {
|
||||||
register int tmpindex;
|
register int tmpindex;
|
||||||
/* ## - paste operator */
|
/* ## - paste operator */
|
||||||
|
|
Loading…
Reference in a new issue