This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: 07-prog-error.patch
- To: tromey at redhat dot com
- Subject: Re: 07-prog-error.patch
- From: Akim Demaille <akim at epita dot fr>
- Date: 29 Jan 2001 10:15:43 +0100
- Cc: Automake <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- References: <E14MuTg-0006UA-00@nostromo.lrde.epita.fr><87puh7879e.fsf@creche.redhat.com>
| Akim> + &prog_error ("version is incorrect: $VERSION")
| Akim> + if ($VERSION !~ /([0-9]+)\.([0-9]+)([a-z])?/);
|
| The automake style is to write trailing `if's without parens:
|
| + &prog_error ("version is incorrect: $VERSION")
| + if $VERSION !~ /([0-9]+)\.([0-9]+)([a-z])?/;
|
| (unless the condition requires a line break, then parens are added so
| that tab will work -- sort of like the GNU style for C)
|
| Could you make this change?
Sure!