fixed small bug
This commit is contained in:
parent
ca46cd0363
commit
9072c238a6
@ -639,6 +639,7 @@ get_text(formals, length)
|
||||
c = GetChar();
|
||||
|
||||
repl->r_ptr = repl->r_text = Malloc(repl->r_size = ITEXTSIZE);
|
||||
*repl->r_ptr = '\0';
|
||||
while ((c != EOI) && (class(c) != STNL)) {
|
||||
if (BLANK(c)) {
|
||||
if (!blank++) add2repl(repl, ' ');
|
||||
|
||||
@ -537,6 +537,7 @@ macro2buffer(repl, idf, args)
|
||||
int err = 0;
|
||||
char *stringify();
|
||||
|
||||
assert(ptr[idf->id_macro->mc_length] == '\0');
|
||||
while (*ptr) {
|
||||
if (*ptr == '\'' || *ptr == '"') {
|
||||
register int delim = *ptr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user