Mercurial > ~dholland > hg > tradcpp > index.cgi
diff CHANGES @ 186:9637bf434f8e
Don't report unclosed comments as "no newline at end of file".
If we get EOF in the "middle" of a line but there's a newline at the
end of the buffer we've got, it's because we're in the middle of a
comment. So, say so.
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 04:13:41 -0400 |
parents | d359d9b86327 |
children | 557824449ec7 |
line wrap: on
line diff
--- a/CHANGES Fri Jun 12 03:59:36 2015 -0400 +++ b/CHANGES Fri Jun 12 04:13:41 2015 -0400 @@ -1,4 +1,5 @@ pending + - Don't report unclosed comments as "No newline at end of file". - Don't rely on <stdbool.h> existing, as (predictably) it doesn't work on Solaris. - Similarly, don't rely on C11 anonymous unions as the Solaris