From 155a73ba2ad7a69b953ddfaaa7f2cc11b35b9a09 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Fri, 6 Jul 2018 18:53:20 -0500 Subject: [PATCH] DOCS: Add Copyright Notices to files missing them. --- src/ast/test.rs | 14 ++++++++++++++ src/benches/parse.rs | 14 ++++++++++++++ src/build/compile_test.rs | 14 ++++++++++++++ src/build/test.rs | 13 +++++++++++++ src/parse/precedence.rs | 13 +++++++++++++ src/parse/test.rs | 13 +++++++++++++ 6 files changed, 81 insertions(+) diff --git a/src/ast/test.rs b/src/ast/test.rs index 9dc1a7b..d8ecc5a 100644 --- a/src/ast/test.rs +++ b/src/ast/test.rs @@ -1,3 +1,17 @@ +// Copyright 2017 Jeremy Wall +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use super::*; #[test] diff --git a/src/benches/parse.rs b/src/benches/parse.rs index 3c05de0..0cc1c25 100644 --- a/src/benches/parse.rs +++ b/src/benches/parse.rs @@ -1,3 +1,17 @@ +// Copyright 2017 Jeremy Wall +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #![allow(unused_must_use)] #[macro_use] diff --git a/src/build/compile_test.rs b/src/build/compile_test.rs index 1c4da16..eb17887 100644 --- a/src/build/compile_test.rs +++ b/src/build/compile_test.rs @@ -1,3 +1,17 @@ +// Copyright 2017 Jeremy Wall +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use super::Builder; fn assert_build(input: &str) { diff --git a/src/build/test.rs b/src/build/test.rs index e955d9b..b7dcb9b 100644 --- a/src/build/test.rs +++ b/src/build/test.rs @@ -1,3 +1,16 @@ +// Copyright 2017 Jeremy Wall +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use super::{Builder, CallDef, MacroDef, SelectDef, Val}; use ast::*; diff --git a/src/parse/precedence.rs b/src/parse/precedence.rs index ecbd02e..d06f61b 100644 --- a/src/parse/precedence.rs +++ b/src/parse/precedence.rs @@ -1,3 +1,16 @@ +// Copyright 2017 Jeremy Wall +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use std; use nom::{ErrorKind, IResult, InputIter, InputLength, Slice}; diff --git a/src/parse/test.rs b/src/parse/test.rs index fd2dca5..497c18c 100644 --- a/src/parse/test.rs +++ b/src/parse/test.rs @@ -1,3 +1,16 @@ +// Copyright 2017 Jeremy Wall +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use super::*; use tokenizer::{tokenize, TokenIter};