[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Parsing arguments
From: |
Han-Wen Nienhuys |
Subject: |
Parsing arguments |
Date: |
Mon, 26 Feb 2001 10:22:58 +0100 |
address@hidden writes:
> Why doesn't this work?
>
> rept = "volta"
> mel = \notes \repeat \rept 2 { c d e f }
because
--- parser.yy~ Sun Feb 25 19:57:34 2001
+++ parser.yy Mon Feb 26 10:19:08 2001
@@ -659,7 +659,7 @@
Repeated_music:
- REPEAT STRING bare_unsigned Music Alternative_music
+ REPEAT string bare_unsigned Music Alternative_music
{
Music_sequence* alts = dynamic_cast <Music_sequence*>
($5);
if (alts && $3 < alts->length_i ())
> And then, how do I create repeated midi-output together with volted
> paper-output...?
good question. Frankly, I don't know. Your best bet is a Scheme \apply
also check out repeat-name-to-ctor in c++.scm
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen/