comparison libinterp/parse-tree/lex.h @ 16130:421dea028bbf

localize use of yyleng with lexical_feedback member function * lex.h, lex.ll (lexical_feedback::yyleng): New function. (lexical_feedback::handle_number, lexical_feedback::handle_identifier, lexical_feedback::handle_meta_identifier, lexical_feedback::handle_superclass_identifier): Use it.
author John W. Eaton <jwe@octave.org>
date Tue, 26 Feb 2013 16:15:12 -0500
parents 053b0364b507
children 2fd39ab12209
comparison
equal deleted inserted replaced
16129:053b0364b507 16130:421dea028bbf
210 210
211 int octave_read (char *buf, unsigned int max_size); 211 int octave_read (char *buf, unsigned int max_size);
212 212
213 char *flex_yytext (void); 213 char *flex_yytext (void);
214 214
215 int flex_yyleng (void);
216
215 void do_comma_insert_check (void); 217 void do_comma_insert_check (void);
216 218
217 int text_yyinput (void); 219 int text_yyinput (void);
218 220
219 void xunput (char c, char *buf); 221 void xunput (char c, char *buf);