aboutsummaryrefslogtreecommitdiff
path: root/ch1/1-24_syntax-checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'ch1/1-24_syntax-checker.c')
-rw-r--r--ch1/1-24_syntax-checker.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ch1/1-24_syntax-checker.c b/ch1/1-24_syntax-checker.c
index 444c562..913f859 100644
--- a/ch1/1-24_syntax-checker.c
+++ b/ch1/1-24_syntax-checker.c
@@ -121,7 +121,6 @@ int main() {
}
}
}
-
if (escapes > 0) {
printf("Invalid escape sequence on line %d!\n", linenr);
return 1;
@@ -162,7 +161,6 @@ int main() {
printf("Unclosed comment at end of file!\n");
return 1;
}
-
printf("All clean.\n");
return 0;
}