register unsigned int text_size;
char *text = Malloc(text_size = ITEXTSIZE);
register unsigned int pos = 0;
- int match = 0;
LoadChar(c);
*/
text[pos++] = ' ';
++LineNumber;
+ LoadChar(c);
}
- else {
+ else
text[pos++] = '\\';
- if (pos == text_size)
- text = Realloc(text, text_size <<= 1);
- text[pos++] = c;
- if (pos == text_size)
- text = Realloc(text, text_size <<= 1);
- }
- LoadChar(c);
+ if (pos == text_size)
+ text = Realloc(text, text_size <<= 1);
}
else
- if (match == 0 && c == '/') {
+ if ( c == '/') {
LoadChar(c);
if (c == '*') {
skipcomment();
text = Realloc(text, text_size <<= 1);
}
else
- if (c == '\'' || c == '"') {
- text[pos++] = c;
- if (pos == text_size)
- text = Realloc(text, text_size <<= 1);
- if (match == c) {
- match = 0;
- } else if (match == 0) {
- match = c;
- }
- LoadChar(c);
- }
- else
- if (match == 0 && formals && class(c) == STIDF) {
+ if (formals && class(c) == STIDF) {
char id_buf[IDFSIZE + 1];
register char *idp = id_buf;
int n;