summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-13 03:33:51 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-13 03:33:51 +0100
commit0d7337aef0eb32f49b25ea7ce7b12af727121381 (patch)
tree2eeedcbb0efcea8be14ec46813c82e4c5836e5f6 /include
parentef7f9bead82e73ff3efd4577a20e5170b017a859 (diff)
chore: nectar: Frontend improvements and syntax updates.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/CompilerKit/AST.h3
-rw-r--r--include/LibNectar/iterator.nhh6
-rw-r--r--include/LibNectarCore/__abi.h2
-rw-r--r--include/LibNectarCore/base_process.h8
4 files changed, 5 insertions, 14 deletions
diff --git a/include/CompilerKit/AST.h b/include/CompilerKit/AST.h
index 6a31597..6136721 100644
--- a/include/CompilerKit/AST.h
+++ b/include/CompilerKit/AST.h
@@ -30,9 +30,6 @@ enum struct KeywordKind {
kKeywordKindFunctionEnd,
kKeywordKindVariable,
kKeywordKindType,
- kKeywordKindTypePtr,
- kKeywordKindImport,
- kKeywordKindExport,
kKeywordKindExpressionBegin,
kKeywordKindExpressionEnd,
kKeywordKindArgSeparator,
diff --git a/include/LibNectar/iterator.nhh b/include/LibNectar/iterator.nhh
index 2f4e34e..5b760ed 100644
--- a/include/LibNectar/iterator.nhh
+++ b/include/LibNectar/iterator.nhh
@@ -24,10 +24,4 @@ struct iterator_traits
}
};
-type <struct It>
-typedef It::pointer iterator_pointer;
-
-type <struct It>
-typedef It::reference iterator_reference;
-
#endif // NECTAR_LIBNECTAR_ITERATOR_NHH \ No newline at end of file
diff --git a/include/LibNectarCore/__abi.h b/include/LibNectarCore/__abi.h
index 802bd1c..a35639d 100644
--- a/include/LibNectarCore/__abi.h
+++ b/include/LibNectarCore/__abi.h
@@ -11,7 +11,7 @@
__init_decl()
-static constexpr int32_t __unreachable_code = 34;
+ static constexpr int32_t __unreachable_code = 34;
inline void __compilerkit_unreachable(void) {
signal(__unreachable_code);
diff --git a/include/LibNectarCore/base_process.h b/include/LibNectarCore/base_process.h
index 15d601b..f6fd539 100644
--- a/include/LibNectarCore/base_process.h
+++ b/include/LibNectarCore/base_process.h
@@ -10,10 +10,10 @@
__init_decl()
-/// @brief CRT exit, with exit code (!!! exits all threads. !!!)
-/// @param code the exit code.
-/// @return the return > 0 for non successful.
-extern int exit_(int code);
+ /// @brief CRT exit, with exit code (!!! exits all threads. !!!)
+ /// @param code the exit code.
+ /// @return the return > 0 for non successful.
+ extern int exit_(int code);
/// @brief CRT signal handler.
/// @param code the signal code.