[Click] Scoping/naming issues
Philip Prindeville
philipp_subx at redfish-solutions.com
Sat Jan 15 17:53:19 EST 2011
I've got a configuration where I do:
...
arpfoo :: ARPQuerier(...);
elementclass Bar {
...
class :: classifier(...);
...
class [2] -> [1] arpfoo;
...
}
but it complains that "unknown element class 'arpfoo'" in a few places, and that input 1 isn't used...
So I'm confused. Everything is scoped globally... even stuff defined within an elementclass gets scoped globally.
Why then can't I access a global variable from within an elementclass's scope?
What am I missing?
Thanks,
-Philip
More information about the click
mailing list