]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
lilypond-book: Fix a couple of regression tests (issue 2223).
[lilypond.git] / lily / parser.yy
index 415e8cb83e01b8433865f669aa52b480482de6eb..ba6650acd08cab4b30aa3256384394aa7d5c4386 100644 (file)
@@ -2,7 +2,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
                  Jan Nieuwenhuizen <janneke@gnu.org>
 
   LilyPond is free software: you can redistribute it and/or modify
@@ -1277,7 +1277,7 @@ function_arglist_skip:
        {
                $$ = scm_cons ($1, $3);
        } %prec FUNCTION_ARGLIST
-       | EXPECT_SCM EXPECT_DURATION function_arglist_skip
+       | EXPECT_OPTIONAL EXPECT_SCM function_arglist_skip
        {
                $$ = scm_cons ($1, $3);
        } %prec FUNCTION_ARGLIST