summaryrefslogtreecommitdiffstats
path: root/openpgp/build.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2018-07-16 21:30:01 +0200
committerNeal H. Walfield <neal@pep.foundation>2018-07-20 11:59:14 +0200
commit5cba2499fc3f926f00a2db08a928b7be5327e0ea (patch)
tree961107da74f9f20509db245d3907f0bac10de87b /openpgp/build.rs
parentc54199c03ae94521541681c2f295c78cdf2e6418 (diff)
openpgp: Add a formal grammar for validating and building TPKs
Diffstat (limited to 'openpgp/build.rs')
-rw-r--r--openpgp/build.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/openpgp/build.rs b/openpgp/build.rs
index b18f693b..76042853 100644
--- a/openpgp/build.rs
+++ b/openpgp/build.rs
@@ -2,8 +2,10 @@ extern crate lalrpop;
// Rerun if any of these files change:
#[allow(dead_code)]
-const SOURCE: &'static str
- = include_str!("src/message/grammar.lalrpop");
+const SOURCE: [ &'static str; 2 ]
+ = [ include_str!("src/message/grammar.lalrpop"),
+ include_str!("src/tpk/grammar.lalrpop"),
+ ];
fn main() {
lalrpop::process_root().unwrap();