-// public
-
-basic * fail::duplicate() const
-{
- debugmsg("fail duplicate",LOGLEVEL_DUPLICATE);
- return new fail(*this);
-}
-
-void fail::print(std::ostream & os, unsigned upper_precedence) const
-{
- debugmsg("fail print",LOGLEVEL_PRINT);
- os << "FAIL";
-}
-
-void fail::printraw(std::ostream & os) const
-{
- debugmsg("fail printraw",LOGLEVEL_PRINT);
- os << "FAIL";
-}
-
-// protected
-
-int fail::compare_same_type(const basic & other) const
-{
- // two fails are always identical
- return 0;
-}