Re: Help with debugging apparent error in parser

2008-08-09 Thread Neil Puttock
2008/8/9 Han-Wen Nienhuys <[EMAIL PROTECTED]>: > fix looks good. Can you write a regtest, fix and commit? OK, I'm working on it at the moment. Regards, Neil ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-

Re: Help with debugging apparent error in parser

2008-08-08 Thread Carl D. Sorensen
On 8/8/08 5:57 PM, "Neil Puttock" <[EMAIL PROTECTED]> wrote: > 2008/8/8 Carl D. Sorensen <[EMAIL PROTECTED]>: > >> This experience causes me to believe that there is a bug in the parser >> related to chordmode. > > I presume you've had a look at lexer.ll? I haven't looked at lexer.ll this time

Re: Help with debugging apparent error in parser

2008-08-08 Thread Han-Wen Nienhuys
On Fri, Aug 8, 2008 at 8:57 PM, Neil Puttock <[EMAIL PROTECTED]> wrote: \> Changing line 827 from > > else if ((handle = scm_hashq_get_handle (chordmodifier_tab_, sym)) != > SCM_BOOL_F) > > to > > else if ((YYSTATE == chords) > && (handle = scm_hashq_get_handle (chordmodifier_t

Re: Help with debugging apparent error in parser

2008-08-08 Thread Neil Puttock
2008/8/8 Carl D. Sorensen <[EMAIL PROTECTED]>: > This experience causes me to believe that there is a bug in the parser > related to chordmode. I presume you've had a look at lexer.ll? It seems a bit dodgy to me that Lily_lexer::scan_bare_word () checks for a match in the chord modifier hash tab

Re: Help with debugging apparent error in parser

2008-08-08 Thread Trevor Daniels
D]> To: "Trevor Daniels" <[EMAIL PROTECTED]>; "lily-devel" <[EMAIL PROTECTED]>; Sent: Friday, August 08, 2008 10:10 PM Subject: Re: Help with debugging apparent error in parser On 8/8/08 3:09 AM, "Trevor Daniels" <[EMAIL PROTECTED]> wrote: Car

Re: Help with debugging apparent error in parser

2008-08-08 Thread Carl D. Sorensen
On 8/8/08 3:09 AM, "Trevor Daniels" <[EMAIL PROTECTED]> wrote: > Carl > > This isn't a problem specific to chordmode. If you use > an identifier c you get a similar error about unexpected > notename_pitch whatever the input mode. The problem is > the identifier m. > > Because m is a valid chor

Re: Help with debugging apparent error in parser

2008-08-08 Thread Trevor Daniels
ed by: (a) placing all variable definitions before music (b) not using single-character variable names. Trevor - Original Message - From: "Carl D. Sorensen" <[EMAIL PROTECTED]> To: "lily-devel" <[EMAIL PROTECTED]>; Sent: Friday, August 08, 2008 2:54 AM

Help with debugging apparent error in parser

2008-08-07 Thread Carl D. Sorensen
Dear LilyPond team, As I developed the transposable fretboards, I have apparently run into an error in the parser. When \chordmode is done, it apparently leaves the parser in a fragile state. Let me show some code: %%% Begin code myDisplayMusic = #(define-music-function (parser location m