On 8/16/09 5:30 PM, "Joe Neeman" <joenee...@gmail.com> wrote:
> On Sun, 2009-08-16 at 14:05 -0700, Mark Polesky wrote:
>> \version "2.13.4"
>>
>> %%%%%%%%%%%%
>> % QUESTION 1
>>
>> % "quoted string" is STRING
>> strA = "quoted string"
>>
>> % #"hash-quoted string" is SCM_TOKEN
>> strB = #"hash-quoted string"
>>
>> % these are both 'unexpected STRING_IDENTIFIER's:
>> % \strA \strB
>>
>> % Why isn't \strB an 'unexpected SCM_IDENTIFIER'?
Because \[alphanum]+ is a STRING_IDENTIFIER.
Remember, these are *parser* error messages. They come from interpreting
the symbols in the input stream, not from evaluating the variables resulting
from parsing the input stream.
The error message happens when the parser sees the text, not when the parser
evaluates the text.
unexpected * messages come when the parser splits things into tokens and
they don't match patterns defined for the rule the parser is trying to
match.
Carl
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel