aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/error/mod.rs4
-rw-r--r--src/lex/mod.rs4
-rw-r--r--src/parse/mod.rs4
3 files changed, 12 insertions, 0 deletions
diff --git a/src/error/mod.rs b/src/error/mod.rs
index a269555..649ef08 100644
--- a/src/error/mod.rs
+++ b/src/error/mod.rs
@@ -1,3 +1,7 @@
1/* Copyright (C) 2019 Akshay Oppiliappan <[email protected]>
2 * Refer to LICENCE for more information.
3 * */
4
1#[derive(Debug)] 5#[derive(Debug)]
2pub enum CalcError { 6pub enum CalcError {
3 Math(Math), 7 Math(Math),
diff --git a/src/lex/mod.rs b/src/lex/mod.rs
index 8348e72..c0c4f84 100644
--- a/src/lex/mod.rs
+++ b/src/lex/mod.rs
@@ -1,3 +1,7 @@
1/* Copyright (C) 2019 Akshay Oppiliappan <[email protected]>
2 * Refer to LICENCE for more information.
3 * */
4
1use std::collections::HashMap; 5use std::collections::HashMap;
2 6
3use crate::error::{ 7use crate::error::{
diff --git a/src/parse/mod.rs b/src/parse/mod.rs
index 4238e3b..b74df4c 100644
--- a/src/parse/mod.rs
+++ b/src/parse/mod.rs
@@ -1,3 +1,7 @@
1/* Copyright (C) 2019 Akshay Oppiliappan <[email protected]>
2 * Refer to LICENCE for more information.
3 * */
4
1use crate::lex::Token; 5use crate::lex::Token;
2use crate::error::CalcError; 6use crate::error::CalcError;
3 7