summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--openpgp/src/message/grammar.rs2
-rw-r--r--openpgp/src/tpk/grammar.rs2
3 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index b790edcf..353b1eb7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,5 +3,3 @@
*~
Cargo.lock
.gdb_history
-/openpgp/src/message/grammar.rs
-/openpgp/src/tpk/grammar.rs
diff --git a/openpgp/src/message/grammar.rs b/openpgp/src/message/grammar.rs
new file mode 100644
index 00000000..d06eccfa
--- /dev/null
+++ b/openpgp/src/message/grammar.rs
@@ -0,0 +1,2 @@
+// Include the generated code.
+include!(concat!(env!("OUT_DIR"), "/message/grammar.rs"));
diff --git a/openpgp/src/tpk/grammar.rs b/openpgp/src/tpk/grammar.rs
new file mode 100644
index 00000000..8461e209
--- /dev/null
+++ b/openpgp/src/tpk/grammar.rs
@@ -0,0 +1,2 @@
+// Include the generated code.
+include!(concat!(env!("OUT_DIR"), "/tpk/grammar.rs"));