aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-03-28 17:28:41 +0000
committerNerdyPepper <[email protected]>2019-03-28 17:28:41 +0000
commitf3b2f09e642047d869644e922a67796a1b4c93f1 (patch)
tree1cd737c53bf53fa331c4cbf7132d9dae597acd61 /src
parentbcc9812391f9b4049718fe43179bff467a3a73fd (diff)
add copyright notice to all source files
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