summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorNadrieril2019-02-27 15:27:48 +0100
committerNadrieril2019-02-27 15:35:58 +0100
commit3118e96dfb9aebc1486886cc6659772a5e91b2e8 (patch)
treed2a64f401f552106318f2ededd7043f5aefbd92e /src/main.rs
parent7fe85bcd1ddecf58814e35f02cab8ef652a1e9c2 (diff)
Update dependencies
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;