[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 10/11] quote consistently and make tests pass with new quotin
From: |
Paul Eggert |
Subject: |
Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib |
Date: |
Sun, 29 Jan 2012 20:47:50 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 |
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:
"'"
?
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, (continued)
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Paul Eggert, 2012/01/25
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Akim Demaille, 2012/01/26
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Akim Demaille, 2012/01/26
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Paul Eggert, 2012/01/26
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Akim Demaille, 2012/01/27
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Paul Eggert, 2012/01/27
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Akim Demaille, 2012/01/28
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Akim Demaille, 2012/01/28
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Paul Eggert, 2012/01/28
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Akim Demaille, 2012/01/29
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib,
Paul Eggert <=
- Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib, Akim Demaille, 2012/01/30
- Re: locale_charset() on MacOS X, Bruno Haible, 2012/01/26
- Re: locale_charset() on MacOS X, Hans Aberg, 2012/01/27
[PATCH 02/11] maint: get gpl-3.0 from gnulib, Jim Meyering, 2012/01/18
Re: syntax-check, update bootstrap, update gnulib, Joel E. Denny, 2012/01/18