[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #39943] Add an alternative parsing mode that regards space and tab
From: |
Paul D. Smith |
Subject: |
[bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens |
Date: |
Wed, 04 Sep 2013 20:42:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36 |
Follow-up Comment #1, bug #39943 (project make):
IMO _any_ editor which automatically replaces TABs with spaces should never be
considered to be a useful programming tool. But YMMV of course.
Please see the NEWS file for the current release (GNU make 3.82):
* New special variable: .RECIPEPREFIX allows you to reset the recipe
introduction character from the default (TAB) to something else. The
first character of this variable value is the new recipe introduction
character. If the variable is set to the empty string, TAB is used again.
It can be set and reset at will; recipes will use the value active when
they were first parsed. To detect this feature check the value of
$(.RECIPEPREFIX).
Regarding creating a new mode that allows both TAB characters and space
characters: that would break so many makefiles that I don't believe it would
be used enough to warrant the complications it would introduce.
As for your suggestion regarding the term "hard tab", when I wrote that
message I'd never heard this term. I'm still not sure why the prefix "hard"
is added; what is being distinguished by this? A TAB is a TAB, and there's
only one TAB character. There's no such thing as a "soft tab": I don't really
know what that means. However, I'm willing to change the message text if
people think it will be significantly clearer.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39943>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Byron Hawkins, 2013/09/04
- [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens,
Paul D. Smith <=
- Re: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, David Boyce, 2013/09/04
- Re: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Paul Smith, 2013/09/04
- Re: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Tim Murphy, 2013/09/05
- Re: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Eli Zaretskii, 2013/09/05
- Re: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Tim Murphy, 2013/09/05
- Re: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Tim Murphy, 2013/09/05
- Re: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Paul Smith, 2013/09/05
- Message not available
- Fwd: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Tim Murphy, 2013/09/05
- Re: [bug #39943] Add an alternative parsing mode that regards space and tab as identical tokens, Reinier Post, 2013/09/05