Code cleanup.

pull/3/head
yhirose 9 years ago
parent e11dd95ba7
commit 6fefd8ea84
  1. 3
      peglib.h

@ -387,8 +387,7 @@ private:
/* /*
* Semantic predicate * 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 { struct parse_error {
parse_error() = default; parse_error() = default;
parse_error(const char* s) : s_(s) {} parse_error(const char* s) : s_(s) {}

Loading…
Cancel
Save