lookup_markup_command (String s);
bool
-valid_version_b (String s);
+is_valid_version (String s);
s = s.left_string (s.index_last ('\"'));
yy_pop_state();
- if (!valid_version_b (s))
+ if (!is_valid_version (s))
return INVALID;
}
<renameinput>\"[^"]*\" { /* got the version number */
String s (YYText ()+1);
s = s.left_string (s.index_last ('"'));
- new_input (s, &global_input_file->sources_ );
+ new_input (s, &global_input_file->sources_);
yy_pop_state ();
}
<incl>\\{BLACK}*;?{WHITE} { /* got the include identifier */
}
int
-My_lily_lexer::identifier_type(SCM sid)
+My_lily_lexer::identifier_type (SCM sid)
{
- int k = try_special_identifiers(&yylval.scm , sid);
+ int k = try_special_identifiers (&yylval.scm , sid);
return k >= 0 ? k : SCM_IDENTIFIER;
}
}
bool
-My_lily_lexer::note_state_b () const
+My_lily_lexer::is_note_state () const
{
return YY_START == notes;
}
bool
-My_lily_lexer::chord_state_b () const
+My_lily_lexer::is_chord_state () const
{
return YY_START == chords;
}
bool
-My_lily_lexer::lyric_state_b () const
+My_lily_lexer::is_lyric_state () const
{
return YY_START == lyrics;
}
bool
-My_lily_lexer::figure_state_b () const
+My_lily_lexer::is_figure_state () const
{
return YY_START == figures;
}
bool
-valid_version_b (String s)
+is_valid_version (String s)
{
Lilypond_version current ( MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL );
Lilypond_version ver (s);
/*
- substittute _ adn \,
+ substitute _ and \,
*/
String
lyric_fudge (String s)