yylval = SCM_EOL; \
} while (0)
-#define start_lyric_quote() do { \
- yy_push_state (lyric_quote); \
- yylval = SCM_EOL; \
- } while (0)
-
#define yylval (*lexval_)
#define yylloc (*lexloc_)
%x figures
%x incl
%x lyrics
-%x lyric_quote
%x longcomment
%x markup
%x notes
<INITIAL,chords,lyrics,notes,figures>\\maininput {
- if (!is_main_input_)
+ if (!is_main_input_ && include_stack_.size () == 1)
{
start_main_input ();
is_main_input_ = true;
}
}
-<quote,lyric_quote>{
+<quote>{
\\{ESCAPED} {
char c = escaped_char (YYText ()[1]);
yylval = scm_cons (scm_from_locale_stringn (&c, 1),
<lyrics>{
\" {
- start_lyric_quote ();
+ start_quote ();
}
{FRACTION} {
yylval = scan_fraction (YYText ());