From 71733bb55146a250893dcf9d933f68801bad796c Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Thu, 25 Jul 2019 12:49:02 +0200 Subject: [PATCH] Remove `!` operator for consistency One must use `not` --- src/language/PEGGrammar.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language/PEGGrammar.hpp b/src/language/PEGGrammar.hpp index 3dac6bd40..b1b38caed 100644 --- a/src/language/PEGGrammar.hpp +++ b/src/language/PEGGrammar.hpp @@ -128,7 +128,7 @@ struct unary_minusminus : TAO_PEGTL_STRING("--") {}; struct unary_plus : one< '+' > {}; struct unary_minus : one< '-' > {}; -struct unary_not : sor< one< '!'> , not_kw > {}; +struct unary_not : not_kw {}; struct unary_operator : seq< sor< unary_plusplus, unary_minusminus, unary_plus, unary_minus, unary_not>, ignored > {}; -- GitLab