summaryrefslogtreecommitdiff
path: root/dhall_syntax
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dhall_syntax/.gitignore (renamed from dhall_generated_parser/.gitignore)0
-rw-r--r--dhall_syntax/Cargo.toml4
-rw-r--r--dhall_syntax/build.rs (renamed from dhall_generated_parser/build.rs)0
l---------dhall_syntax/src/dhall.abnf (renamed from dhall_generated_parser/src/dhall.abnf)0
-rw-r--r--dhall_syntax/src/dhall.pest.visibility (renamed from dhall_generated_parser/src/dhall.pest.visibility)0
-rw-r--r--dhall_syntax/src/parser.rs2
6 files changed, 5 insertions, 1 deletions
diff --git a/dhall_generated_parser/.gitignore b/dhall_syntax/.gitignore
index 8a0bac6..8a0bac6 100644
--- a/dhall_generated_parser/.gitignore
+++ b/dhall_syntax/.gitignore
diff --git a/dhall_syntax/Cargo.toml b/dhall_syntax/Cargo.toml
index d732bff..7708954 100644
--- a/dhall_syntax/Cargo.toml
+++ b/dhall_syntax/Cargo.toml
@@ -4,10 +4,14 @@ version = "0.1.0"
authors = ["NanoTech <nanotech@nanotechcorp.net>", "Nadrieril <nadrieril@users.noreply.github.com>"]
license = "BSD-2-Clause"
edition = "2018"
+build = "build.rs"
[lib]
doctest = false
+[build-dependencies]
+abnf_to_pest = { version = "0.1.1", path = "../abnf_to_pest" }
+
[dependencies]
itertools = "0.8.0"
percent-encoding = "2.1.0"
diff --git a/dhall_generated_parser/build.rs b/dhall_syntax/build.rs
index d846f92..d846f92 100644
--- a/dhall_generated_parser/build.rs
+++ b/dhall_syntax/build.rs
diff --git a/dhall_generated_parser/src/dhall.abnf b/dhall_syntax/src/dhall.abnf
index ce13b8e..ce13b8e 120000
--- a/dhall_generated_parser/src/dhall.abnf
+++ b/dhall_syntax/src/dhall.abnf
diff --git a/dhall_generated_parser/src/dhall.pest.visibility b/dhall_syntax/src/dhall.pest.visibility
index 17c1edc..17c1edc 100644
--- a/dhall_generated_parser/src/dhall.pest.visibility
+++ b/dhall_syntax/src/dhall.pest.visibility
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs
index 3ea766f..044d3f1 100644
--- a/dhall_syntax/src/parser.rs
+++ b/dhall_syntax/src/parser.rs
@@ -146,7 +146,7 @@ lazy_static::lazy_static! {
}
#[derive(Parser)]
-#[grammar = "../../dhall_generated_parser/src/dhall.pest"]
+#[grammar = "dhall.pest"]
struct DhallParser;
#[pest_consume::parser(parser = DhallParser, rule = Rule)]