Code cleanup.

This commit is contained in:
yhirose 2015-08-06 13:59:23 -04:00
parent e11dd95ba7
commit 6fefd8ea84

View File

@ -387,8 +387,7 @@ private:
/*
* Semantic predicate
*/
typedef std::function<bool (const SemanticValues& sv, const any& dt)> SemanticPredicate;
// Note: 'parser_error' exception class should be be used in sematic action handlers to reject the rule.
struct parse_error {
parse_error() = default;
parse_error(const char* s) : s_(s) {}