From fb195ece2f2773d2a1fc004ff98f9b77a90cb9cc Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 7 Mar 2019 00:44:58 +0100 Subject: Use upstream pest --- abnf_to_pest/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'abnf_to_pest') diff --git a/abnf_to_pest/src/lib.rs b/abnf_to_pest/src/lib.rs index 38347ed..8d858bb 100644 --- a/abnf_to_pest/src/lib.rs +++ b/abnf_to_pest/src/lib.rs @@ -51,6 +51,8 @@ pub fn abnf_to_pest( || x == "let" || x == "in" || x == "fn" + // TODO: remove when https://github.com/pest-parser/pest/pull/375 gets into a release + || x == "whitespace" { x + "_" } else { -- cgit v1.2.3