diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2002-06-05 05:00:00 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2002-06-05 05:00:00 +0000 |
commit | 35a61a7652c3314b50b17690034ec8c1dd298af7 (patch) | |
tree | e9e3492ca242e0f2e954fd2d425735ecaa8ee78b | |
parent | 71c84d7775ad58bbde14e8b729c0e14bbc7d242b (diff) |
bug in Camlp4_top.wrap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4876 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | camlp4/top/camlp4_top.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camlp4/top/camlp4_top.ml b/camlp4/top/camlp4_top.ml index 73cf805b9..7906edaab 100644 --- a/camlp4/top/camlp4_top.ml +++ b/camlp4/top/camlp4_top.ml @@ -71,7 +71,7 @@ value wrap f shfn lb = if i < shift then Some ' ' else do { while - lb.lex_curr_pos >= String.length lb.lex_buffer && + lb.lex_curr_pos >= lb.lex_buffer_len && not lb.lex_eof_reached do { lb.refill_buff lb |