On 01/29/2012 10:05 AM, Akim Demaille wrote: >> Wouldn't it be better if we didn't have yet another >> environment variable to worry about? > > Would you prefer LC_CTYPE as C or POSIX?
Sorry, I've lost context, but yes it'd be OK if Bison's quoting style depended on whether the LC_CTYPE locale was "C" or not. >> -empty.y:4.8: missing ''' at end of file >> +empty.y:4.8: missing '\'' at end of file > > I am not sure this is a real improvement. In this case, I think > I would prefer issuing "'" (those three characters). WDYT? Sure, if you want to be that fancy, you can use double-quotes if the token contains a single quote. But what would happen if the token contains both single and double quotes? Would we fall back on \ in that case, e.g.: missing '"\'"' at end of file if the actual token is: "'" ?
