lexical.c, simplify

This commit is contained in:
rlar 2014-04-15 19:12:58 +02:00
parent 8c7ae0d61c
commit f42b5b16c7
1 changed files with 2 additions and 3 deletions

View File

@ -141,14 +141,13 @@ nloop:
for (;;) {
c = cp_readchar(&string, cp_inp_cur);
if (string) {
c = cp_readchar(&string, cp_inp_cur);
if (c == '\0')
c = '\n';
if (c == ESCAPE)
c = '[';
} else {
c = cp_readchar(&string, cp_inp_cur);
}
gotchar: