From f096df3728c3085e746a6587a08aca086b4d346a Mon Sep 17 00:00:00 2001 From: Afnan Enayet Date: Thu, 12 May 2022 22:36:37 -0500 Subject: [PATCH] fix: Fix compilation error with dynamic grammars This corrects a build error that occurred if `static-grammar-libs` was not selected. --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 7f424a72..d3f00a37 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,6 +6,7 @@ mod input_processing; mod neg_idx_vec; mod parse; +#[cfg(feature = "static-grammar-libs")] use crate::parse::supported_languages; use anyhow::Result; use clap::IntoApp;