diff --git a/parser/src/diagnostics.rs b/parser/src/diagnostics.rs index 51fe014..a7a9709 100644 --- a/parser/src/diagnostics.rs +++ b/parser/src/diagnostics.rs @@ -1,3 +1,8 @@ +// This file is part of the uutils awk package. +// +// For the full copyright and license information, please view the LICENSE +// files that was distributed with this source code. + use ariadne::{Color, Label, Report, ReportKind, Source}; use lexer::{LexingError, Span}; use thiserror::Error; diff --git a/parser/src/idempotency.rs b/parser/src/idempotency.rs index a7f1ed2..81b9ff1 100644 --- a/parser/src/idempotency.rs +++ b/parser/src/idempotency.rs @@ -1,3 +1,8 @@ +// This file is part of the uutils awk package. +// +// For the full copyright and license information, please view the LICENSE +// files that was distributed with this source code. + use std::fmt::{Debug, Display, Formatter, Result, Write}; use crate::{ diff --git a/parser/src/lib.rs b/parser/src/lib.rs index d6cde5c..7ae7032 100644 --- a/parser/src/lib.rs +++ b/parser/src/lib.rs @@ -2,6 +2,7 @@ // // For the full copyright and license information, please view the LICENSE // files that was distributed with this source code. + #![forbid(unsafe_code)] mod ast; diff --git a/parser/src/pratt.rs b/parser/src/pratt.rs index 50661ec..43e296c 100644 --- a/parser/src/pratt.rs +++ b/parser/src/pratt.rs @@ -1,3 +1,8 @@ +// This file is part of the uutils awk package. +// +// For the full copyright and license information, please view the LICENSE +// files that was distributed with this source code. + use lexer::Token; use crate::{ diff --git a/parser/src/tests.rs b/parser/src/tests.rs index 9b292a2..6ac51fd 100644 --- a/parser/src/tests.rs +++ b/parser/src/tests.rs @@ -1,3 +1,8 @@ +// This file is part of the uutils awk package. +// +// For the full copyright and license information, please view the LICENSE +// files that was distributed with this source code. + use std::fmt::Debug; use bumpalo::Bump; diff --git a/tests/awk.rs b/tests/awk.rs index e3fb16c..e216261 100644 --- a/tests/awk.rs +++ b/tests/awk.rs @@ -1,3 +1,8 @@ +// This file is part of the uutils awk package. +// +// For the full copyright and license information, please view the LICENSE +// files that was distributed with this source code. + use std::env; use uutests::util::TestScenario; diff --git a/tests/by-util/test_awk.rs b/tests/by-util/test_awk.rs index f451bb9..e10b92e 100644 --- a/tests/by-util/test_awk.rs +++ b/tests/by-util/test_awk.rs @@ -1,3 +1,8 @@ +// This file is part of the uutils awk package. +// +// For the full copyright and license information, please view the LICENSE +// files that was distributed with this source code. + use crate::ucmd; #[test]