From 375df2a85dfd010975378e0adac2183d38291de2 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Thu, 11 Jun 2020 16:25:10 +0200 Subject: [PATCH] Fix a typo in grammar (keywork -> keyword) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Pascal Havé (@hpwxf) for reporting it --- src/language/PEGGrammar.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/language/PEGGrammar.hpp b/src/language/PEGGrammar.hpp index d2cd7c480..e8f66bbd3 100644 --- a/src/language/PEGGrammar.hpp +++ b/src/language/PEGGrammar.hpp @@ -123,9 +123,9 @@ struct cout_kw : TAO_PEGTL_KEYWORD("cout") {}; struct cerr_kw : TAO_PEGTL_KEYWORD("cerr") {}; struct clog_kw : TAO_PEGTL_KEYWORD("clog") {}; -struct keywork : sor < basic_type, import_kw, true_kw, false_kw, let_kw, do_kw, while_kw, for_kw, if_kw, else_kw, and_kw, or_kw, xor_kw, not_kw, break_kw, continue_kw, cout_kw, cerr_kw, clog_kw > {}; +struct keyword : sor < basic_type, import_kw, true_kw, false_kw, let_kw, do_kw, while_kw, for_kw, if_kw, else_kw, and_kw, or_kw, xor_kw, not_kw, break_kw, continue_kw, cout_kw, cerr_kw, clog_kw > {}; -struct identifier_minus_keyword : minus< identifier, keywork > {}; +struct identifier_minus_keyword : minus< identifier, keyword > {}; struct module_name : identifier_minus_keyword {}; struct MODULE_NAME : seq< module_name, ignored > {}; -- GitLab