summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorNanoTech2016-12-06 09:10:15 +0000
committerNanoTech2017-03-10 23:48:27 -0600
commitd6240a4b184cac1fbf61ab35f9f3813efb780d31 (patch)
tree94f4df613beeefe72ada1d55c9f25de03bcdd448 /build.rs
Initial commit
Diffstat (limited to '')
-rw-r--r--build.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.rs b/build.rs
new file mode 100644
index 0000000..ce7e591
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,6 @@
+extern crate lalrpop;
+
+fn main() {
+ lalrpop::process_root().unwrap();
+ println!("cargo:rerun-if-changed=src/grammar.lalrpop");
+}