>From: nobu / ruby-lang.org >Date: 04.04.2006 07:13:42 >Subject: Re: [PATCH] parse.y: literal strings for tokens > >Hi, > >At Tue, 4 Apr 2006 12:20:18 +0900, >ville.mattila / stonesoft.com wrote in [ruby-core:07672]: >> So how about a little bit configuration magic. We could detect if the >> system is using cabable bison and the define NICE_TOKENS and >> ifdef parse.y correctly. Your patch is so much user friendlier than the >> current >> kEND stuff. Ruby's error reporting is too "developer friendly " at the >> moment. > >yacc runs before C compiler, including preprocessor. Ok, how about if we run parse.y through C preprocessor before yacc? > >-- >Nobu Nakada >