From d087fd4fb4a1f35dcb40623b22558cefc79b38cc Mon Sep 17 00:00:00 2001 From: David Li Date: Mon, 6 Nov 2017 20:33:58 -0500 Subject: License under MPL 2.0 --- src/semantic/environment.rs | 5 +++++ src/semantic/mod.rs | 5 +++++ src/semantic/translate.rs | 5 +++++ src/semantic/types.rs | 5 +++++ 4 files changed, 20 insertions(+) (limited to 'src/semantic') diff --git a/src/semantic/environment.rs b/src/semantic/environment.rs index 7876ad4..1f9ade0 100644 --- a/src/semantic/environment.rs +++ b/src/semantic/environment.rs @@ -1,3 +1,8 @@ +// Copyright ⓒ 2017 David Li. +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + use std::collections::HashMap; use std::hash::Hash; diff --git a/src/semantic/mod.rs b/src/semantic/mod.rs index 433a196..e2edc24 100644 --- a/src/semantic/mod.rs +++ b/src/semantic/mod.rs @@ -1,3 +1,8 @@ +// Copyright ⓒ 2017 David Li. +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + pub mod environment; pub mod translate; pub mod types; diff --git a/src/semantic/translate.rs b/src/semantic/translate.rs index dfcec68..7e0d2b8 100644 --- a/src/semantic/translate.rs +++ b/src/semantic/translate.rs @@ -1,3 +1,8 @@ +// Copyright ⓒ 2017 David Li. +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + use ::ast::{self, WithLocation}; use super::environment; use super::types::{self, Ty}; diff --git a/src/semantic/types.rs b/src/semantic/types.rs index af6c971..25d9fb5 100644 --- a/src/semantic/types.rs +++ b/src/semantic/types.rs @@ -1,3 +1,8 @@ +// Copyright ⓒ 2017 David Li. +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + #[derive(Clone,Debug,Eq,PartialEq)] pub enum Ty { Int, -- cgit v1.2.3