[Top][All Lists]

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

Re: --yacc and token #define's

From: Joel E. Denny
Subject: Re: --yacc and token #define's
Date: Sat, 10 Jun 2006 16:01:57 -0400 (EDT)

On Sat, 10 Jun 2006, Joel E. Denny wrote:

> The idea of removing token #define's in the absence of --yacc has come up 
> a few times over the past year.

I need a little guidance on this test case:

  113:   Early token definitions

It tests whether tokens are defined before user prologues.  I thought I'd 
split it into two test cases: testing the enum without --yacc, and testing 
the #define with --yacc.  I suppose I should copy the GCJ comment to both.

I see that Bison guarantees that the tokens are defined before the 
pre-prologue, but the original test case only checks that they're defined 
before the post-prologue.  Is there a reason for that?


reply via email to

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