From: fred Date: Sun, 24 Mar 2002 19:31:45 +0000 (+0000) Subject: lilypond-0.0.32 X-Git-Tag: release/1.5.59~5391 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=39901c7b1b27f6a5764fc2769bfbeb765357c42c;p=lilypond.git lilypond-0.0.32 --- diff --git a/src/mylexer.cc b/src/mylexer.cc index de6fcc7238..7af820ae44 100644 --- a/src/mylexer.cc +++ b/src/mylexer.cc @@ -24,7 +24,7 @@ static Keyword_ent the_key_tab[]={ "goto", GOTO, "in", IN_T, "key", KEY, - "mark", MARK, + "meter", METER, "mm", MM_T, "multivoice", MULTIVOICE, @@ -81,7 +81,7 @@ My_flex_lexer::My_flex_lexer() keytable = new Keyword_table(the_key_tab); the_id_tab = new Assoc; defaulttab = 0; - data_ch_c_l_m = 0; + data_ch_c_l_ = 0; errorlevel_i_ = 0; } @@ -103,7 +103,7 @@ My_flex_lexer::lookup_identifier(String s) char const* My_flex_lexer::here_ch_c_l() { - return data_ch_c_l_m ? data_ch_c_l_m + yyin->tellg() : 0; + return data_ch_c_l_ ? data_ch_c_l_ + yyin->tellg() : 0; } void @@ -155,16 +155,16 @@ My_flex_lexer::new_input(String s) if (!include_stack.empty()) { include_stack.top()->line = lineno(); // should this be saved at all? - include_stack.top()->defined_ch_c_l_m = defined_ch_c_l; + include_stack.top()->defined_ch_c_l_ = defined_ch_c_l; } Input_file *newin = new Input_file(s); include_stack.push(newin); switch_streams(newin->is); if ( newin->sourcefile_l_ ) - data_ch_c_l_m = newin->sourcefile_l_->ch_c_l(); + data_ch_c_l_ = newin->sourcefile_l_->ch_c_l(); else - data_ch_c_l_m = 0; + data_ch_c_l_ = 0; yylineno = 1; } @@ -181,7 +181,7 @@ My_flex_lexer::close_input() Input_file *i = include_stack.top(); switch_streams(i->is); yylineno = i->line; - defined_ch_c_l = i->defined_ch_c_l_m; + defined_ch_c_l = i->defined_ch_c_l_; } delete old; return ok;