[#7708] Bug in libsnmp-ruby1.8 — Hadmut Danisch <hadmut@...>

Hi,

8 messages 2006/04/11
[#7709] Re: Bug in libsnmp-ruby1.8 — Eric Hodel <drbrain@...7.net> 2006/04/11

On Apr 11, 2006, at 6:23 AM, Hadmut Danisch wrote:

[#7770] Re: possible defect in array.c — "Brown, Warren" <warrenbrown@...>

> rb_range_beg_len (in range.c) does set beg and len.

13 messages 2006/04/26
[#7771] Re: possible defect in array.c — "Pat Eyler" <rubypate@...> 2006/04/26

On 4/26/06, Brown, Warren <warrenbrown@aquire.com> wrote:

Re: [PATCH] parse.y: literal strings for tokens

From: Robin Stocker <robin@...>
Date: 2006-04-02 01:04:31 UTC
List: ruby-core #7655
Yukihiro Matsumoto wrote:
> Is this notation (token with description) compatible with yacc
> implementation other than Bison 2.x?  This concern is the reason I
> didn't merge the patch.
> 
> 							matz.

Here's a manual for Bison 1 and the notation is also there:
http://www.sunsite.ualberta.ca/Documentation/Gnu/bison-1.28/html_mono/bison.html#SEC50

The relevant part:
   You can associate a literal string token with a token type name by
   writing the literal string at the end of a %token declaration which
   declares the name. For example:
   %token arrow "=>"

I installed bison 1.875d and tested it. The only difference is that the 
description is in quotes (example: "identifier" instead of identifier).

But I'm no Yacc/Bison expert, so I don't know if there are other 
implications when using the token description.

   Robin

In This Thread