X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mi2mu%2Fmidi-lexer.l;h=6add2613c7e6d4d86c14e4f16d53d50262849aac;hb=8309cbcd6660ea1f0b35abacbb424ddc4158e448;hp=f83258789f6bb60ec72978d4fcde51205d53c637;hpb=dbed556ca13bc2371e83774890eaa06bc8b04def;p=lilypond.git diff --git a/mi2mu/midi-lexer.l b/mi2mu/midi-lexer.l index f83258789f..6add2613c7 100644 --- a/mi2mu/midi-lexer.l +++ b/mi2mu/midi-lexer.l @@ -1,16 +1,16 @@ -%{ +%{//-*-Fundamental-*- // midi-lexer.l #include "mi2mu.hh" #include "midi-parser.hh" +#define YY_USER_ACTION char_count_ += YYLeng(); // ugh %} %option c++ %option noyywrap %option nodefault -%option yylineno %option debug %option yyclass="My_midi_lexer" %option stack @@ -374,7 +374,7 @@ SSME [\0x7f][\x03] {U8} { warning( String( "meta_event: unimplemented event: " ) + String_convert::bin2hex_str( String( *YYText() ) ), - this->here_ch_c_l() ); + this->here_ch_C() ); yy_pop_state(); yy_pop_state(); yy_push_state( u8 );