Mercurial > hg > buildtools
changeset 6:5665a846d227
Also catch ':=' assignments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 24 Sep 2008 02:13:39 +0300 |
parents | cdd7f7b6d4b0 |
children | 86a7054b01d5 |
files | autopoop |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/autopoop Sat Sep 13 06:05:27 2008 +0300 +++ b/autopoop Wed Sep 24 02:13:39 2008 +0300 @@ -234,7 +234,7 @@ if (/^ifdef\s+([A-Za-z0-9_]+)/g) { addhash($usenames, $substs, $filename, $1, $line); - } elsif (/^([A-Za-z][A-Za-z0-9_]+)\s*[\+]?=/) { + } elsif (/^([A-Za-z][A-Za-z0-9_]+)\s*[\+:]?=/) { addhash($usenames, $defines, $filename, $1, $line); } elsif (/^include (\S+)/) {