Mercurial > hg > octave-lyh
comparison libinterp/parse-tree/pt-const.cc @ 16147:ed8ce5da525f
don't access lexer values directly when grabbing help text from .m files.
* oct-parse.yy (text_getc): Don't update line number.
(stdio_stream_reader::line_num, stdio_stream_reader:column_num):
New data members.
(stdio_stream_reader::stdio_stream_reader): New args for line and
column numbers.
(stdio_stream_reader::getc): Set line and column info here.
(stdio_stream_reader:ungetc): Set local line number here.
(gobble_leading_white_space): New args, line_num and column_num. Pass
them to stdio_stream_reader constructor.
(gobble_leading_white_space): Provide additional function without line
and column number arguments.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 27 Feb 2013 17:28:12 -0500 |
parents | 2fc554ffbc28 |
children |
comparison
equal
deleted
inserted
replaced
16146:b6050fc0a2d9 | 16147:ed8ce5da525f |
---|