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 /parse.cxx | |
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.
Diffstat (limited to 'parse.cxx')
-rw-r--r-- | parse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -597,7 +597,7 @@ lexer::scan () while (true) { c = input_get (); - if (c == 0) // EOF + if (c < 0) // EOF { n->type = tok_junk; break; |