From d27b1f76b53cd3bcc56b989b3786cf277f300dc0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 23 May 2001 01:05:47 +0000 Subject: [PATCH] 2001-05-22 Alexandre Duret-Lutz * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names. --- ChangeLog | 4 ++++ automake.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 51dae1f6..a576d51d 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 55a16cca..b87f48e8 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. -- 2.43.5