]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
* scm/define-grobs.scm: uniform naming for definitions and output
[lilypond.git] / lily / parser.yy
index 09ace3518a03531a56b3676f92471569665ea256..f4eeeca5b318d4aade063e6303bbeae0f410f4c6 100644 (file)
@@ -221,6 +221,7 @@ yylex (YYSTYPE *s,  void * v)
 %token SIMULTANEOUS
 %token CONSISTSEND
 %token DENIES
+%token DESCRIPTION
 %token EXTENDER
 %token FIGURES FIGURE_OPEN FIGURE_CLOSE
 %token FIGURE_BRACKET_CLOSE FIGURE_BRACKET_OPEN
@@ -540,6 +541,9 @@ translator_spec_body:
                td->translator_group_type_ = $2;
                td->set_spot (THIS->here_input ());
        }
+       | translator_spec_body DESCRIPTION string  {
+               unsmob_translator_def ($$)->description_ = $3;
+       }
        | translator_spec_body STRING '=' embedded_scm                  {
                unsmob_translator_def ($$)->add_property_assign ($2, $4);
        }