]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
release: 1.5.33
[lilypond.git] / lily / parser.yy
index 0de5be0bf5534ede0307ca544bb724ceee8d813d..4f3942169454d53111fd74a13ebe0de890c7b797 100644 (file)
@@ -242,6 +242,7 @@ yylex (YYSTYPE *s,  void * v_l)
 
 /* escaped */
 %token E_CHAR E_EXCLAMATION E_SMALLER E_BIGGER E_OPEN E_CLOSE E_TILDE
+%token E_BACKSLASH
 %token CHORD_BASS CHORD_COLON CHORD_MINUS CHORD_CARET 
 
 %type <i>      exclamations questions dots
@@ -1112,7 +1113,12 @@ command_element:
                $$-> set_spot (THIS->here_input ());
                $1-> set_spot (THIS->here_input ());
        }
+       | E_BACKSLASH {
+               $$ = new Music (gh_list (gh_cons (ly_symbol2scm ("name"), ly_symbol2scm ("separator")), SCM_UNDEFINED));
+               $$->set_spot (THIS->here_input ());
+       }
        | '|'      {
+
                extern Music * get_barcheck();
                $$ = get_barcheck ();
                $$->set_spot (THIS->here_input ());