lexical.c, simplify
This commit is contained in:
parent
8c7ae0d61c
commit
f42b5b16c7
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue