summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'parse.cxx')
-rw-r--r--parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.cxx b/parse.cxx
index 1d8e2947..dcdb7260 100644
--- a/parse.cxx
+++ b/parse.cxx
@@ -597,7 +597,7 @@ lexer::scan ()
while (true)
{
c = input_get ();
- if (c == 0) // EOF
+ if (c < 0) // EOF
{
n->type = tok_junk;
break;