Erik Sandberg <[EMAIL PROTECTED]> writes:
> On Saturday 23 September 2006 17:49, Nicolas Sceaux wrote:
>> Hi,
>>
>> Using LilyPond from CVS, the following snippet causes a syntax error,
>> which 2.9.18 did not:
>>
>> /**
>> testFunction =
>> #(define-music-function (par
Erik Sandberg schreef:
The new thing now is that also 0-ary functions are subject to the same
problem: We need to read an extra token to see whether an EXPECT_XXX comes.
If you like, I can fix this particular case by adding a special token for
0-ary functions (but this will not fix the underlyi
On Tuesday 26 September 2006 23:54, Han-Wen Nienhuys wrote:
> Erik Sandberg schreef:
> > Hi,
> >
> > You should use ly:clone-parser to avoid this problem:
> >
> > #(define-music-function (parser location) ()
> >(ly:parser-parse-string (ly:clone-parser parser) "\\include
> > \"test-data.ly\"")
>
Erik Sandberg schreef:
On Saturday 23 September 2006 17:49, Nicolas Sceaux wrote:
Hi,
Using LilyPond from CVS, the following snippet causes a syntax error,
which 2.9.18 did not:
/**
testFunction =
#(define-music-function (parser location) ()
;; test-data.ly contai
On Saturday 23 September 2006 17:49, Nicolas Sceaux wrote:
> Hi,
>
> Using LilyPond from CVS, the following snippet causes a syntax error,
> which 2.9.18 did not:
>
> /**
> testFunction =
> #(define-music-function (parser location) ()
> ;; test-data.ly contains music v
Erik Sandberg <[EMAIL PROTECTED]> writes:
> On Saturday 23 September 2006 17:49, Nicolas Sceaux wrote:
>> Hi,
>>
>> Using LilyPond from CVS, the following snippet causes a syntax error,
>> which 2.9.18 did not:
>
> I think the problem is my fix for music function arity: The extra tokens
> inserte
On Saturday 23 September 2006 17:49, Nicolas Sceaux wrote:
> Hi,
>
> Using LilyPond from CVS, the following snippet causes a syntax error,
> which 2.9.18 did not:
I think the problem is my fix for music function arity: The extra tokens
inserted by the lexer may disturb the processing of \include.
Hi,
Using LilyPond from CVS, the following snippet causes a syntax error,
which 2.9.18 did not:
/**
testFunction =
#(define-music-function (parser location) ()
;; test-data.ly contains music variable definitions
(ly:parser-parse-string parser "\\include \"test-dat