summaryrefslogtreecommitdiff
path: root/autochomp/src/main.rs
diff options
context:
space:
mode:
authorGreg Brown <gmb60@cam.ac.uk>2021-01-09 14:31:02 +0000
committerGreg Brown <gmb60@cam.ac.uk>2021-01-09 14:31:02 +0000
commit0d01692c97ea8ca6fc4b229e5b9678cb252bceda (patch)
tree6c5ed07740b814f50dddbc6afaefc21c11dc3440 /autochomp/src/main.rs
parent487ce4fe0fa081f58d790d7d6417bf7d2659197c (diff)
Introduce chomp as a procedural macro.
Add a bunch of tests. Fix chomp and chewed so autochomp compiles.
Diffstat (limited to 'autochomp/src/main.rs')
-rw-r--r--autochomp/src/main.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/autochomp/src/main.rs b/autochomp/src/main.rs
index 9b3b521..493204d 100644
--- a/autochomp/src/main.rs
+++ b/autochomp/src/main.rs
@@ -1,15 +1,12 @@
use std::{
error::Error,
- fs,
io::{self, Read, Write},
process::exit,
};
use chewed::{IterWrapper, Parser};
-mod nibble {
- include!(concat!(env!("OUT_DIR"), "/nibble.rs"));
-}
+mod nibble;
fn main() {
let mut input = String::new();