Mercurial > hg > octave-lyh
comparison libinterp/dldfcn/tsearch.cc @ 16106:031117f4db7c
use enum for values returned by eat_continuation and eat_whitespace
* lex.ll, lex.h (lexical_feedback::whitespace_type): New enum.
(yum_yum): Delete typedef.
(ATE_NOTHING, ATE_SPACE_OR_TAB, ATE_NEWLINE): Replace with
NO_WHITESPACE, SPACE_OR_TAB, NEWLINE values from
lexical_feedback::whitespace_type enum.
When result of eat_continuation is used as a logical test for
whitespace or no whitespace, compare to
lexical_feedback::NO_WHITESPACE to produce bool value.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 25 Feb 2013 23:48:32 -0500 |
parents | 2fc554ffbc28 |
children |
comparison
equal
deleted
inserted
replaced
16105:b7de58feb2d3 | 16106:031117f4db7c |
---|