automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Make ASSIGNMENT_PATTERN less greedy


From: Raja R Harinath
Subject: [PATCH] Make ASSIGNMENT_PATTERN less greedy
Date: 12 May 2001 18:39:01 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103

Hi,

The recently added ASSIGNMENT_PATTERN is a little too greedy.  Given

    FOO=-DBAR=baz

it incorrectly matches the macro name to be 'FOO=-DBAR' rather than
just 'FOO'.

Here's an obvious fix, and a possible testcase.

Attachment: automake.diff
Description: Make ASSIGNMENT_PATTERN less greedy

Attachment: vars.test
Description: simple testcase for variable assignments with an '=' in the value

- Hari
-- 
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash

reply via email to

[Prev in Thread] Current Thread [Next in Thread]