diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | parse.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-01-25 Frank Ch. Eigler <fche@elastic.org> + + PR 2205, patch from <hiramatu@sdl.hitachi.co.jp>: + * parse.cxx (scan): Correct EOF detection for %{ %} case. + 2006-01-24 Frank Ch. Eigler <fche@elastic.org> PR 2060 etc. @@ -597,7 +597,7 @@ lexer::scan () while (true) { c = input_get (); - if (c == 0) // EOF + if (c < 0) // EOF { n->type = tok_junk; break; |