Don't allow backslash at EOF

This commit is contained in:
sin 2014-01-06 18:16:34 +00:00
parent 0511ecfd84
commit bb4d7a0e7e
1 changed files with 2 additions and 0 deletions

View File

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