diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/error/mod.rs | 4 | ||||
-rw-r--r-- | src/lex/mod.rs | 4 | ||||
-rw-r--r-- | src/parse/mod.rs | 4 |
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)] |
2 | pub enum CalcError { | 6 | pub 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 | |||
1 | use std::collections::HashMap; | 5 | use std::collections::HashMap; |
2 | 6 | ||
3 | use crate::error::{ | 7 | use 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 | |||
1 | use crate::lex::Token; | 5 | use crate::lex::Token; |
2 | use crate::error::CalcError; | 6 | use crate::error::CalcError; |
3 | 7 | ||