From be7260485e31eb24a9fa7bb3d6b587ab59bd6846 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 23 Dec 2020 01:26:31 +0100 Subject: Update ungrammar for const block patterns --- xtask/Cargo.toml | 2 +- xtask/src/ast_src.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'xtask') diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 78a0b54ba..96b4ea448 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -15,7 +15,7 @@ flate2 = "1.0" pico-args = "0.3.1" proc-macro2 = "1.0.8" quote = "1.0.2" -ungrammar = "1.4" +ungrammar = "1.5" walkdir = "2.3.1" write-json = "0.1.0" xshell = "0.1" diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index a69ced5cc..2b8012bdd 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -132,6 +132,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "RANGE_PAT", "LITERAL_PAT", "MACRO_PAT", + "CONST_BLOCK_PAT", // atoms "TUPLE_EXPR", "ARRAY_EXPR", -- cgit v1.2.3