Revert "Merge pull request #205 from VVWVV/concat_op"

This reverts commit 82dd745f90b9447ac2f196c31642660a7488453f, reversing
changes made to 2a930cedde954831eebee1a221a297e1019cb4df.
This commit is contained in:
Zeex 2017-12-31 18:27:58 +06:00
parent 4db5ecba41
commit 4d1a3a99f7

View File

@ -1840,23 +1840,6 @@ static void substallpatterns(unsigned char *line,int buffersize)
} /* 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
/* preprocess
@ -1888,7 +1871,6 @@ SC_FUNC void preprocess(void)
if (iscommand==CMD_NONE) {
assert(lptr!=term_expr);
substallpatterns(pline,sLINEMAX);
ppconcat(pline);
lptr=pline; /* reset "line pointer" to start of the parsing buffer */
} /* if */
#endif