-%{
+%{//-*-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
<meta_event>{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 );