summaryrefslogtreecommitdiff
path: root/support/texlab/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/build.rs')
-rw-r--r--support/texlab/build.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/support/texlab/build.rs b/support/texlab/build.rs
index 228a42992c..5283240997 100644
--- a/support/texlab/build.rs
+++ b/support/texlab/build.rs
@@ -1,6 +1,6 @@
fn main() {
- lalrpop::Configuration::new()
- .generate_in_source_tree()
- .process()
- .unwrap();
+ println!("cargo:rerun-if-changed=src/citeproc/name/parser.lalrpop");
+
+ #[cfg(feature = "citation")]
+ lalrpop::process_root().unwrap();
}