summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadrieril2020-01-30 17:11:16 +0000
committerNadrieril2020-01-30 17:11:16 +0000
commit0a60a4a891cd8c527ecc3caf6502bd614118d59a (patch)
tree0fe17be44697a04573a50007ac266d738286a1f0
parent5197c26c23edd6c499f8e0f8a239fe4393b2e3d2 (diff)
Move parser files to syntax/
-rw-r--r--dhall/build.rs4
l---------dhall/src/dhall.abnf1
l---------dhall/src/syntax/text/dhall.abnf1
-rw-r--r--dhall/src/syntax/text/dhall.pest.visibility (renamed from dhall/src/dhall.pest.visibility)0
4 files changed, 3 insertions, 3 deletions
diff --git a/dhall/build.rs b/dhall/build.rs
index cc94f5e..8992f22 100644
--- a/dhall/build.rs
+++ b/dhall/build.rs
@@ -387,8 +387,8 @@ fn generate_tests() -> std::io::Result<()> {
fn convert_abnf_to_pest() -> std::io::Result<()> {
let out_dir = env::var("OUT_DIR").unwrap();
- let abnf_path = "src/dhall.abnf";
- let visibility_path = "src/dhall.pest.visibility";
+ let abnf_path = "src/syntax/text/dhall.abnf";
+ let visibility_path = "src/syntax/text/dhall.pest.visibility";
let grammar_path = Path::new(&out_dir).join("dhall.pest");
println!("cargo:rerun-if-changed={}", abnf_path);
println!("cargo:rerun-if-changed={}", visibility_path);
diff --git a/dhall/src/dhall.abnf b/dhall/src/dhall.abnf
deleted file mode 120000
index ce13b8e..0000000
--- a/dhall/src/dhall.abnf
+++ /dev/null
@@ -1 +0,0 @@
-../../dhall-lang/standard/dhall.abnf \ No newline at end of file
diff --git a/dhall/src/syntax/text/dhall.abnf b/dhall/src/syntax/text/dhall.abnf
new file mode 120000
index 0000000..4a95034
--- /dev/null
+++ b/dhall/src/syntax/text/dhall.abnf
@@ -0,0 +1 @@
+../../../../dhall-lang/standard/dhall.abnf \ No newline at end of file
diff --git a/dhall/src/dhall.pest.visibility b/dhall/src/syntax/text/dhall.pest.visibility
index 03a000b..03a000b 100644
--- a/dhall/src/dhall.pest.visibility
+++ b/dhall/src/syntax/text/dhall.pest.visibility