diff options
author | fche <fche> | 2006-01-25 14:59:47 +0000 |
---|---|---|
committer | fche <fche> | 2006-01-25 14:59:47 +0000 |
commit | 2ba0c4740ed45717d8060fe630643aacfd635996 (patch) | |
tree | 3ae1a2a82c56b7be798994407d47559508a2abc3 | |
parent | e248d93f6ba4f1529356993d55e42d6f7c08f066 (diff) | |
download | systemtap-steved-2ba0c4740ed45717d8060fe630643aacfd635996.tar.gz systemtap-steved-2ba0c4740ed45717d8060fe630643aacfd635996.tar.xz systemtap-steved-2ba0c4740ed45717d8060fe630643aacfd635996.zip |
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.
-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; |