[Top][All Lists]

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

What's behind this fix?

From: Paul Hilfinger
Subject: What's behind this fix?
Date: Sun, 03 Oct 2010 15:09:51 -0700

In scan-gram.l, I see 

  /* Work around a bug in flex 2.5.31.  See Debian bug 333231
     <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333231>.  */
  #undef gram_wrap
  #define gram_wrap() 1

Replacing a definition from Flex:

  #define gram_wrap(n) 1

which is subsequently invoked in the Flex skeleton with 

   if ( gram_wrap( ) )

I can't for the life of me see anything wrong with the original (Flex's) 
definition of gram_wrap or with its use.  It certainly works on my
version of gcc (3.4.4 on Solaris).  What gives?

Paul Hilfinger

reply via email to

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