]> git.donarmstrong.com Git - lilypond.git/commitdiff
(markup): take encoding from lexer.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 9 Apr 2004 23:19:25 +0000 (23:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 9 Apr 2004 23:19:25 +0000 (23:19 +0000)
lily/parser.yy

index 4b116f28e7ee50d041b5152e7a82eb69a007bb32..96746e4e62879d9b2e2aa2d98897d60a09c62c0b 100644 (file)
@@ -118,7 +118,7 @@ make_simple_markup (SCM encoding, SCM a)
 
 
 bool
-is_is_duration (int t)
+is_duration (int t)
 {
   return t && t == 1 << intlog2 (t);
 }
@@ -1829,7 +1829,7 @@ optional_notemode_duration:
 steno_duration:
        bare_unsigned dots              {
                int len = 0;
-               if (!is_is_duration ($1))
+               if (!is_duration ($1))
                        THIS->parser_error (_f ("not a duration: %d", $1));
                else
                        len = intlog2 ($1);
@@ -1883,7 +1883,7 @@ tremolo_type:
                $$ = 0;
        }
        | ':' bare_unsigned {
-               if (!is_is_duration ($2))
+               if (!is_duration ($2))
                        THIS->parser_error (_f ("not a duration: %d", $2));
                $$ = $2;
        }