Mercurial > hg > octave-lyh
diff libinterp/parse-tree/pt-idx.cc @ 16183:359d56094efa
handle lexer input buffering with class
* lex.h, lex.ll (octave_lexer::input_buffer): New class.
(octave_lexer::input_buf): New data member.
(octave_lexer::octave_lexer): Initialize it.
(octave_lexer::octave_read): Use input_buf to simplify function and
replace static data.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 03 Mar 2013 14:02:41 -0500 |
parents | f2b8f90052fd |
children | 302157614308 |