bug-bison
[Top][All Lists]
Advanced

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

Re: i18n for yacc backend messages


From: Jan Nieuwenhuizen
Subject: Re: i18n for yacc backend messages
Date: Sat, 16 Apr 2005 11:05:54 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Paul Eggert writes:

> and if you print that string you'll see this:
>
> "\\'?\"\a\b\f\n\r\t\v\001\377\001\377"
>
> and this is a C representation of an equivalent to the original
> string.

Ah, yes.  But I would rather not feed the average lilypond user a C
represenation of a string, most of our users are not programmers.
This

   %token BOOK "\\book"

is into this

    "\"\\\\book\""

which will print as

    bison.ly:8:5: error: syntax error, unexpected "\\book", expecting '{'

The extra backslash is not helpful.  Hmm.
Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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