From: Tom Tromey Date: Wed, 23 May 2001 01:05:47 +0000 (+0000) Subject: 2001-05-22 Alexandre Duret-Lutz X-Git-Tag: Release-1-4h~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1cb3bd16b2220340285e38a840cc3bcede9daa;p=thirdparty%2Fautomake.git 2001-05-22 Alexandre Duret-Lutz * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names. --- diff --git a/ChangeLog b/ChangeLog index 51dae1f6a..a576d51d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-05-22 Alexandre Duret-Lutz + + * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names. + 2001-05-21 Akim Demaille * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked diff --git a/automake.in b/automake.in index 55a16cca7..b87f48e83 100755 --- a/automake.in +++ b/automake.in @@ -124,7 +124,7 @@ my $SUFFIX_RULE_PATTERN = '^\.([a-zA-Z0-9]+)\.([a-zA-Z0-9]+)$'; # leading tabs here then we need to make the reader smarter, because # otherwise it will think rules like `foo=bar; \' are errors. my $MACRO_PATTERN = '^[A-Za-z0-9_@]+$'; -my $ASSIGNMENT_PATTERN = '^ *([^ \t=]*)\s*([:+]?)=\s*(.*)$'; +my $ASSIGNMENT_PATTERN = '^ *([^ \t=:+]*)\s*([:+]?)=\s*(.*)$'; # This pattern recognizes a Gnits version id and sets $1 if the # release is an alpha release. We also allow a suffix which can be # used to extend the version number with a "fork" identifier.