int string = 0;
int character = 0;
int special = 0;
+ int space = 0;
while (!feof (fin)) {
memset (bufin, 0, sizeof (bufin));
case ' ':
case '\t':
if (begin == 0) {
- *ptout++ = *ptin;
+ if ((string) || (!space)) {
+ *ptout++ = *ptin;
+ }
}
break;
case '{':
}
*ptout++ = *ptin;
}
+ space = ((*ptin == ' ') || (*ptin == '\t'));
special = (*ptin == '\\');
parent += (*ptin == '(') ? +1 : (*ptin == ')') ? -1 : 0;
ptin++;