# HG changeset patch # User David A. Holland # Date 1434096899 14400 # Node ID 8c7e508da6cc0f39fcc04d08881c1666882c5076 # Parent 9637bf434f8e8cb3e2474cd2365cb8eae79e9a5c more of previous diff -r 9637bf434f8e -r 8c7e508da6cc TODO --- 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) diff -r 9637bf434f8e -r 8c7e508da6cc files.c --- 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");