[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to Debug Parse Errors

From: Richard Grubb
Subject: How to Debug Parse Errors
Date: Tue, 3 Dec 2002 14:58:27 -0600

I am new to Lilypond. I have 1.6.0 running on MacOSX 10.1.5. I can create .ly files from descriptions in the tutorial and run them through ly2dvi, but have not been able to run the first two examples I saved from the website. When I run ly2dvi -P, I get the following output:

error: parse error, unexpected $, expecting STRING or '}'

LilyPond failed on the input file (exit status 1).

Traceback (most recent call last):
  File "/sw/bin/ly2dvi", line 1000, in ?
    run_lilypond (files, dep_prefix)
  File "/sw/bin/ly2dvi", line 512, in run_lilypond
    error ( "\n" \
  File "/sw/bin/ly2dvi", line 144, in error
    raise _ ("Exiting ... ")

I checked the file and don't see any obvious missing '}'.
So what does the "unexpected $" mean? Unexpected END-OF-FILE?

When I try another file,, I least get a line and column number where the parser gives up, and so I have more info to work with.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]