Revert "Merge pull request #205 from VVWVV/concat_op"
This reverts commit 82dd745f90b9447ac2f196c31642660a7488453f, reversing changes made to 2a930cedde954831eebee1a221a297e1019cb4df.
This commit is contained in:
parent
4db5ecba41
commit
4d1a3a99f7
@ -1840,23 +1840,6 @@ static void substallpatterns(unsigned char *line,int buffersize)
|
|||||||
} /* while */
|
} /* while */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ppconcat(unsigned char *line)
|
|
||||||
{
|
|
||||||
unsigned char *c,*p,*b;
|
|
||||||
for (c=line; *c!='\0'; ++c) {
|
|
||||||
if (is_startstring(c))
|
|
||||||
c=(unsigned char *)skipstring(c);
|
|
||||||
if (*c=='#' && *(c+1)=='#') {
|
|
||||||
p=c-1;
|
|
||||||
b=c+2;
|
|
||||||
while (*p==' ')
|
|
||||||
p--;
|
|
||||||
while (*b==' ')
|
|
||||||
b++;
|
|
||||||
strcpy((char *)p+1,(char *)b);
|
|
||||||
} /* if */
|
|
||||||
} /* for */
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* preprocess
|
/* preprocess
|
||||||
@ -1888,7 +1871,6 @@ SC_FUNC void preprocess(void)
|
|||||||
if (iscommand==CMD_NONE) {
|
if (iscommand==CMD_NONE) {
|
||||||
assert(lptr!=term_expr);
|
assert(lptr!=term_expr);
|
||||||
substallpatterns(pline,sLINEMAX);
|
substallpatterns(pline,sLINEMAX);
|
||||||
ppconcat(pline);
|
|
||||||
lptr=pline; /* reset "line pointer" to start of the parsing buffer */
|
lptr=pline; /* reset "line pointer" to start of the parsing buffer */
|
||||||
} /* if */
|
} /* if */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user