From 6fefd8ea84b2ced7ea6982957044717ac10a8d67 Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 6 Aug 2015 13:59:23 -0400 Subject: [PATCH] Code cleanup. --- peglib.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/peglib.h b/peglib.h index 9e42981..67cd13c 100644 --- a/peglib.h +++ b/peglib.h @@ -387,8 +387,7 @@ private: /* * Semantic predicate */ -typedef std::function 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) {}