|
Boost-Build : |
From: Daniel Einspanjer (deinspanjer_at_[hidden])
Date: 2006-02-13 17:44:16
I have a generator closely based upon the one Volodya described in his
response to this thread:
http://thread.gmane.org/gmane.comp.lib.boost.build/11654
One of the things I did was make a rule with the same name as the action
that builds up the variable XSL_TOOL which is used by the action.
I discovered that I couldn't declare that variable as local in the rule
because then the action couldn't see it. What would be the proper way to
scope that type of variable to reduce the possibility of collisions anywhere
else? Is it automatically scoped to the class? (I'm assuming it isn't
because the rule and actions statements are outside the class definition.)
-- Daniel Einspanjer
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk