changeset 187:8c7e508da6cc

more of previous
author David A. Holland
date Fri, 12 Jun 2015 04:14:59 -0400
parents 9637bf434f8e
children 557824449ec7
files TODO files.c
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/TODO	Fri Jun 12 04:13:41 2015 -0400
+++ b/TODO	Fri Jun 12 04:14:59 2015 -0400
@@ -21,8 +21,6 @@
 
 fix:
 	- "#if 0 && 1/0" should not crash; fix eval method.
-	- an unterminated comment is reported as "no newline at end of file"
-	  (which isn't fatal by default)
 	- quote characters and comment delimiters that are emitted by
 	  macros are not recognized. See:
 		t34 (should produce a quote and FOO Q)
--- a/files.c	Fri Jun 12 04:13:41 2015 -0400
+++ b/files.c	Fri Jun 12 04:14:59 2015 -0400
@@ -228,6 +228,7 @@
 				ptmp.column += bufend - linestart;
 				if (buf[bufend - 1] == '\n') {
 					complain(&ptmp, "Unclosed comment");
+					complain_fail();
 				} else {
 					complain(&ptmp,
 						 "No newline at end of file");