diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-26 10:10:06 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-26 10:10:06 +0100 |
| commit | d532b43153cb68d6e92c5dac58cbd3c8ab4f60af (patch) | |
| tree | e748d39deee4e4c0983354ccf3fa419263368f87 /include/CompilerKit/AST.h | |
| parent | ba1b968d17a1ed29694f850af58787c3eb2657d4 (diff) | |
feat! Use header guards instead of pragma once.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/AST.h')
| -rw-r--r-- | include/CompilerKit/AST.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/CompilerKit/AST.h b/include/CompilerKit/AST.h index 2d63a1f..8f6b8fb 100644 --- a/include/CompilerKit/AST.h +++ b/include/CompilerKit/AST.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef NECTAR_COMPILERKIT_AST_H +#define NECTAR_COMPILERKIT_AST_H #include <CompilerKit/CodeGenerator.h> #include <vector> @@ -169,3 +170,5 @@ class ICompilerFrontend { } // namespace CompilerKit #include <CompilerKit/AST.inl> + +#endif // NECTAR_COMPILERKIT_AST_H |
