The reported problem
mrkp = \markup { "x" }
\mrkp
triggers an error because of markup requiring additional lookahead in
assignments. This is fixed by sacrificing string addition, an arcane
and undocumented feature that has probably not been used in the last
decade or so.
$$ = $1;
}
| full_markup
- | string '+' string {
- if (!scm_is_string ($1)) {
- parser->parser_error (@1, (_ ("simple string expected")));
- $1 = scm_string (SCM_EOL);
- }
- if (!scm_is_string ($3)) {
- parser->parser_error (@3, (_ ("simple string expected")));
- $3 = scm_string (SCM_EOL);
- }
- $$ = scm_string_append (scm_list_2 ($1, $3));
- }
;
simple_string: STRING {