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 /include/CompilerKit | |
| parent | a936410849e4df5598d9edb11132153a4f7e64f6 (diff) | |
feat: CompilerKit: include header guards in AST.inl.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit')
| -rw-r--r-- | include/CompilerKit/AST.inl | 12 |
1 files changed, 8 insertions, 4 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 |
