From 7259a73084bfb3295154857a052c0354f79fb93d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 27 Dec 2025 09:53:08 +0100 Subject: feat: CompilerKit: include header guards in AST.inl. Signed-off-by: Amlal El Mahrouss --- include/CompilerKit/AST.inl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'include/CompilerKit') 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 -- cgit v1.2.3