removed some useless PushBack's, and added warnings

This commit is contained in:
ceriel
1989-06-27 11:43:26 +00:00
parent 27d7d5ed68
commit f781103cb4
2 changed files with 14 additions and 13 deletions

View File

@@ -203,7 +203,7 @@ go_on:
while (c != '\'') {
if (c == '\n') {
error("newline in character constant");
LineNumber++;
PushBack();
break;
}
if (c == '\\') {
@@ -299,7 +299,7 @@ string_token(nm, stop_char)
while (c != stop_char) {
if (c == '\n') {
error("newline in %s", nm);
LineNumber++;
PushBack();
break;
}
if (c == EOI) {