diff options
| author | Mel <mel@rnrd.eu> | 2025-06-30 23:15:23 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-06-30 23:15:23 +0200 |
| commit | 37217cf1b921a2a6e128b6134518912f0bd57f62 (patch) | |
| tree | 4a1f616355e02198735878e55c32347376848a93 /boot/lex.c | |
| parent | 0737d287c29b404700bfaa07625177eb443dfab2 (diff) | |
| download | catskill-37217cf1b921a2a6e128b6134518912f0bd57f62.tar.zst catskill-37217cf1b921a2a6e128b6134518912f0bd57f62.zip | |
Factor out translation unit includes to seperate header
This allows both the usual build compiler and an LSP server like `clangd` to correctly locate symbols throughout every subunit. Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/lex.c')
| -rw-r--r-- | boot/lex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/lex.c b/boot/lex.c index 5b91187..f450798 100644 --- a/boot/lex.c +++ b/boot/lex.c @@ -7,6 +7,10 @@ * SPDX-License-Identifier: MPL-2.0 */ +#pragma once + +#include "catboot.h" + #define MAX_CHAR_BUFFER_SIZE 256 // byte position within a file. |
