[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to read a error message?
From: |
Urs Liska |
Subject: |
Re: How to read a error message? |
Date: |
Tue, 14 Mar 2017 10:29:16 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 |
Am 14.03.2017 um 09:00 schrieb David Kastrup:
> and then the offending line, split into two just at the offending
> location. In your case, the first occurences of h are flagged since h
> is not part of the default note language.
To add something more general to that: The "error: unrecognized string"
indicates that LilyPond is given something to parse (here: "h") which it
doesn't understand ("recognize") at this place. It can be a note name in
the wrong language but it could also be a misspelled command (e.g.
\brake instead of \break) or a variable you have declared in another
file which you forgot to include.
So essentially this error tells you "There is *something* wrong with
your input but I can't tell you what exactly". And LilyPond can't tell
you "this is not a note name" here because there are plenty of other
valid things that could go there, articulations, dynamics, ties,
arbitrary commands or Scheme expressions ...
HTH
Urs
--
address@hidden
https://openlilylib.org
http://lilypondblog.org