Implementation 3 - parser.mly - bug

From: Michel Machado (michel@digirati.com.br)
Date: Sat Nov 04 2006 - 13:19:54 EST


Return-Path: <michel@digirati.com.br>
X-Spam-HitLevel: 
X-Spam-DCC: CollegeOfNewCaledonia: cs3.bu.edu 1189; Body=1 Fuz1=1 Fuz2=1
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on cs3.bu.edu
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=10.0 tests=AWL,BAYES_00 autolearn=ham  version=3.1.0
X-Spam-Pyzor: 
Received: from mta.k8.com.br (mta2.k8.com.br [200.185.109.20]) by cs3.bu.edu (8.13.6/8.13.6) with ESMTP id kA4LdrJf003755 for <cs520@cs.bu.edu>; Sat, 4 Nov 2006 16:40:03 -0500
Received: from localhost (localhost [127.0.0.1]) by smtpa.k8.com.br (Postfix) with ESMTP id 2ABCB280046E for <cs520@cs.bu.edu>; Sat,  4 Nov 2006 15:19:53 -0300 (BRT)
Received: from smtpa.k8.com.br ([127.0.0.1]) by localhost (mta2.k8.com.br [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22889-01-15 for <cs520@cs.bu.edu>; Sat,  4 Nov 2006 15:19:53 -0300 (BRT)
Received: from dark (c-71-232-158-11.hsd1.ma.comcast.net [71.232.158.11]) by smtpa.k8.com.br (Postfix) with ESMTP id 5250028002BF for <cs520@cs.bu.edu>; Sat,  4 Nov 2006 15:19:51 -0300 (BRT)
Message-ID: <012e01c7003d$d4d67ce0$c0b6a8c0@dark>
From: "Michel Machado" <michel@digirati.com.br>
To: <cs520@cs.bu.edu>
Subject: Implementation 3 - parser.mly - bug
Date: Sat, 4 Nov 2006 13:19:54 -0500
Organization: Digirati
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-Virus-Scanned: amavisd-new at k8.com.br
X-Clamav-Status: No
Status: RO
Content-Length: 381
X-UID: 42
X-Keywords:                                                                                                    

Dears,

    There's a small bug in parser.mly that makes terms like -->try raise
Michel with michel => "wrong" | Michel => "Good!"<-- lead to parser error,
and other weird stuff. To fix it, just edit the following line:

- | BAR clause clauses { $2::$3 }

+ | BAR clause clausesopt { $2::$3 }

    Good luck!

[ ]'s
Michel Machado



This archive was generated by hypermail 2b29 : Thu Dec 14 2006 - 16:31:59 EST