Don't allow backslash at EOF

This commit is contained in:
sin 2014-01-06 18:16:34 +00:00
parent 0511ecfd84
commit bb4d7a0e7e

View File

@ -168,7 +168,9 @@ parseescape(void)
if ((ch = inputc()) != EOF) { if ((ch = inputc()) != EOF) {
fillbuf(ch); fillbuf(ch);
argbpos++; argbpos++;
return;
} }
enprintf(EXIT_FAILURE, "backslash at EOF\n");
} }
static char * static char *