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