* smtlib2 decimal constant can be "1.", i.e. doesn't need digits after the point
* adding CVC4_PUBLIC to rational output operator, otherwise it's unusable for users
* Matches a decimal constant from the input.
*/
DECIMAL_LITERAL
- : NUMERAL '.' DIGIT+
+ : NUMERAL '.' DIGIT*
;
/**
}
};/* struct RationalHashStrategy */
-std::ostream& operator<<(std::ostream& os, const Rational& n);
+CVC4_PUBLIC std::ostream& operator<<(std::ostream& os, const Rational& n);
}/* CVC4 namespace */
}
};/* struct RationalHashStrategy */
-std::ostream& operator<<(std::ostream& os, const Rational& n);
+CVC4_PUBLIC std::ostream& operator<<(std::ostream& os, const Rational& n);
}/* CVC4 namespace */