diff options
author | NerdyPepper <[email protected]> | 2019-03-28 17:28:41 +0000 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-03-28 17:28:41 +0000 |
commit | f3b2f09e642047d869644e922a67796a1b4c93f1 (patch) | |
tree | 1cd737c53bf53fa331c4cbf7132d9dae597acd61 /src | |
parent | bcc9812391f9b4049718fe43179bff467a3a73fd (diff) |
add copyright notice to all source files
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 | ||