yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02820
[Branch ~yade-dev/yade/trunk] Rev 1917: 1. Allow spaces after YADE_REQUIRE_FEATURE (before parenthesis) and around its argument inside pa...
------------------------------------------------------------
revno: 1917
committer: Václav Šmilauer <eudoxos@xxxxxxxx>
branch nick: trunk
timestamp: Tue 2009-12-22 23:17:50 +0100
message:
1. Allow spaces after YADE_REQUIRE_FEATURE (before parenthesis) and around its argument inside parentheses.
modified:
yadeSCons.py
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'yadeSCons.py'
--- yadeSCons.py 2009-12-05 10:45:14 +0000
+++ yadeSCons.py 2009-12-22 22:17:50 +0000
@@ -73,7 +73,7 @@
linkDeps.update(grepForIncludes(root,m.group(2)))
linkDeps.add(incHead.split('.')[0])
continue
- m=re.match('^\s*YADE_REQUIRE_FEATURE\((.*)\).*$',l)
+ m=re.match('^\s*YADE_REQUIRE_FEATURE\s*\(\s*(.*)\s*\).*$',l)
if m:
featureDeps.add(m.group(1).upper())
m=re.match('^s*YADE_LINK_EXTRA_LIB\((.*)\).*$',l)