summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 9f7e2e1..fde3978 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,7 @@
#![feature(box_patterns)]
extern crate bytecount;
+#[macro_use]
extern crate lalrpop_util;
#[macro_use]
extern crate nom;
@@ -9,7 +10,7 @@ extern crate term_painter;
pub mod context;
mod core;
pub use core::*;
-pub mod grammar;
+lalrpop_mod!(pub grammar); // synthesized by LALRPOP
mod grammar_util;
pub mod lexer;
pub mod parser;