dbuf_append_char(&dbuf, '"'); /* Pass end of this string or substring to evaluator */
while ((ch = input()) && (isspace(ch) || ch == '\\' || ch == '#'))
{
- count_char(ch);
-
switch (ch)
{
case '\\':
+ count_char(ch);
if ((ch = input()) != '\n')
{
werror(W_STRAY_BACKSLASH, column);
else
count_char(ch);
}
- else
- count_char(ch);
- break;
+ else
+ count_char(ch);
+ break;
case '\n':
count_char(ch);
struct dbuf_s linebuf;
const char *line;
+ count_char(ch);
+
dbuf_init(&linebuf, STR_BUF_CHUNCK_LEN);
dbuf_append_char(&linebuf, '#');
dbuf_destroy(&linebuf);
}
+ else
+ unput(ch);
+ break;
+
+ default:
+ count_char(ch);
+ break;
}
}