Hi,
While working on the if complex test expression patch, I created a few
AST objects corresponding to the various operators.
One of them (the ComparisonOperator) is called by the grammar as:
comparison: rvalue comparisonop simplervalue {
result = ast AST::ComparisonOperator, :operator => val[1], :lval =>
val[0], :rval => val[2]
}
Unfortunately when parsing, the
klass.new(hash)
of Puppet::Parser::AST::ast returns nil
How is it possible that new returns nil????
I checked everything I could think of, it doesn't fail, no exceptions
are raised, it just returns nil. Arghh.
Any idea what could be wrong?
Any idea on how I could chase down this?
--
Brice Figureau
Days of Wonder
http://www.daysofwonder.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---