help-bison
[Top][All Lists]
Advanced

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

Re: Compiling Reverse Polish Calculator Example


From: Paul Eggert
Subject: Re: Compiling Reverse Polish Calculator Example
Date: Wed, 31 Oct 2012 08:25:59 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

On 10/31/2012 01:32 AM, Akim Demaille wrote:
> I now also realize that maybe Bison should ignore these
> BOM bytes.  Or even propagate them to the generated files?

I guess it'd be OK to ignore them but I wouldn't propagate them,
as they're trouble.

While we're on the subject of UTF-8, is Bison really
generating messages like this?

rpcalc.y:1.1: invalid character: `\377'

It should be using apostrophes, like this:

rpcalc.y:1.1: invalid character: '\377'

The GNU Coding Standards changed recently, in this matter.



reply via email to

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