diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-27 09:53:08 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-27 09:53:08 +0100 |
| commit | 7259a73084bfb3295154857a052c0354f79fb93d (patch) | |
| tree | 9b1928c98053ae71256caef6f3320420701c01d1 | |
| parent | a936410849e4df5598d9edb11132153a4f7e64f6 (diff) | |
feat: CompilerKit: include header guards in AST.inl.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | include/CompilerKit/AST.inl | 12 | ||||
| -rw-r--r-- | include/DebuggerKit/Common.inl | 9 |
2 files changed, 12 insertions, 9 deletions
diff --git a/include/CompilerKit/AST.inl b/include/CompilerKit/AST.inl index 0fa8159..3d386f6 100644 --- a/include/CompilerKit/AST.inl +++ b/include/CompilerKit/AST.inl @@ -1,8 +1,10 @@ -/* ======================================== +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar - Copyright (C) 2025 Amlal El Mahrouss, licensed under the Apache 2.0 license - -======================================== */ +#ifndef NECTAR_COMPILERKIT_AST_INL +#define NECTAR_COMPILERKIT_AST_INL namespace CompilerKit { /// find the perfect matching word in a haystack. @@ -61,3 +63,5 @@ inline bool ICompilerFrontend::IsValid() { return strcmp(this->Language(), kInvalidFrontend) > 0; } } // namespace CompilerKit + +#endif
\ No newline at end of file diff --git a/include/DebuggerKit/Common.inl b/include/DebuggerKit/Common.inl index 9265e97..f09a9e2 100644 --- a/include/DebuggerKit/Common.inl +++ b/include/DebuggerKit/Common.inl @@ -1,8 +1,7 @@ -/* ======================================== - - Copyright (C) 2025 Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar #define kBlank "\e[0;30m" #define kRed "\e[0;31m" |
