This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Attempting to unit test
- To: Pavel Roskin <proski at gnu dot org>
- Subject: Re: Attempting to unit test
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 25 Nov 2000 18:46:46 -0700
- Cc: <wgheath at fedex dot com>, "automake at gnu dot org" <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- References: <Pine.LNX.4.30.0011200930480.801-100000@fonzie.nine.com>
- Reply-To: tromey at cygnus dot com
>>>>> "Pavel" == Pavel Roskin <proski@gnu.org> writes:
>> Do you think it would be better to warn or to simply recognize
>> lines like that?
Pavel> I think it's better to recognize those lines and ignore
Pavel> spaces. Doing otherwise will make Automake somewhat similar to
Pavel> Python because the formatting will affect the result (without
Pavel> being considered a bug).
Sounds good to me. I agree with your comment that people who need
workarounds should work with us to find a better way to do what they
want.
I implemented this feature. It recognizes leading spaces but not
leading tabs. If we recognize leading tabs then we have to make the
reader hairier.
Tom