[email protected]
[Top] [All Lists]

Bug#584738: marked as forwarded (byacc: Fix compatibility with bison's p

Subject: Bug#584738: marked as forwarded byacc: Fix compatibility with bison's pure-parser option
From: Debian Bug Tracking System
Date: Sun, 06 Jun 2010 08:03:13 +0000
Your message dated Sun, 6 Jun 2010 04:00:52 -0400
with message-id <[email protected]>
has caused the   report #584738,
regarding byacc: Fix compatibility with bison's pure-parser option
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]

584738: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584738
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: Patches for byacc
From: Andres Mejia
Date: Sun, 6 Jun 2010 04:00:52 -0400

I thought it might be good to send you patches that I submitted to the Debian 
bug tracking system as well. In this way, these changes I'm proposing will 
benefit everyone using byacc, and also help with having a similar 
implementation of byacc accross different platforms/distros.

The first patch fixes the output order of the generated parse code file. This 
will allow for the use of YYPARSE_PARAM, by having the output that checks for 
YYPARSE_PARAM to be defined come after the C code block in the definitions 
section of a yacc file.

The second patch implements support for YYLEX_PARAM, similar to bison. This is 
useful for support for building reentrant lexers with flex.

The third patch fixes a compatibility issue with bison's pure-parser option. 
Bison defines yylex as sending at least one paramater, &yylval, as the first 
parameter and doesn't seem to have an easy way to remove that parameter. This 
on the other hand is rather convenient to support saving to yylval from flex 
when building reentrant lexers and parsers.

If you wish to reply, please also preserve the addresses in the CC field when 
replying so that any response from you is also saved in the relevant bug 
reports in the Debian bug tracking system.

Andres Mejia

Attachment: fix-output-order.patch
Description: Text Data

Attachment: flex-reentrant-compatiblity.patch
Description: Text Data

Attachment: bison-pure-parser-compatibility.patch
Description: Text Data

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#584738: marked as forwarded (byacc: Fix compatibility with bison's pure-parser option), Debian Bug Tracking System <=