summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/CompilerKit/AST.h1
-rw-r--r--include/CompilerKit/Detail/PreConfig.h2
-rw-r--r--include/CompilerKit/Utilities/Compiler.h6
-rw-r--r--include/DebuggerKit/Detail/Config.h2
4 files changed, 8 insertions, 3 deletions
diff --git a/include/CompilerKit/AST.h b/include/CompilerKit/AST.h
index e161bb7..b8d313f 100644
--- a/include/CompilerKit/AST.h
+++ b/include/CompilerKit/AST.h
@@ -38,6 +38,7 @@ enum struct KeywordKind {
kKeywordKindBodyStart,
kKeywordKindBodyEnd,
kKeywordKindClass,
+ kKeywordKindGenerics,
kKeywordKindPtrAccess,
kKeywordKindAccess,
kKeywordKindIf,
diff --git a/include/CompilerKit/Detail/PreConfig.h b/include/CompilerKit/Detail/PreConfig.h
index 827c641..bd90e00 100644
--- a/include/CompilerKit/Detail/PreConfig.h
+++ b/include/CompilerKit/Detail/PreConfig.h
@@ -60,7 +60,7 @@
#ifndef kDistRelease
-#define kDistVersion "v0.0.7-compilerkit"
+#define kDistVersion "v0.1.3-compilerkit"
#define kDistVersionBCD 0x0002
#define ToString(X) Stringify(X)
diff --git a/include/CompilerKit/Utilities/Compiler.h b/include/CompilerKit/Utilities/Compiler.h
index 84d6624..2efd7a4 100644
--- a/include/CompilerKit/Utilities/Compiler.h
+++ b/include/CompilerKit/Utilities/Compiler.h
@@ -65,7 +65,7 @@ inline void print_warning(STLString reason, STLString file) noexcept {
/// @internal
/// @brief Handler for SIGSEGV signal.
inline void drvi_crash_handler(std::int32_t id) {
- CompilerKit::STLString verbose_header = "LIBCOMPILER CRASH REPORT - ";
+ CompilerKit::STLString verbose_header = "COMPILERKIT CRASH REPORT - ";
verbose_header += kDistVersion;
verbose_header += " - ";
verbose_header += CompilerKit::current_date();
@@ -90,6 +90,10 @@ inline void drvi_crash_handler(std::int32_t id) {
kStdOut << "ERRNO(STRING): " << strerror(errno) << std::endl;
switch (id) {
+ default: {
+ kStdOut << "SIGNAL: Unknown Signal (" << id << ")." << kBlank << std::endl;
+ break;
+ }
case SIGSEGV: {
kStdOut << "SIGNAL: Segmentation Fault." << kBlank << std::endl;
break;
diff --git a/include/DebuggerKit/Detail/Config.h b/include/DebuggerKit/Detail/Config.h
index 963b8c6..9168ce0 100644
--- a/include/DebuggerKit/Detail/Config.h
+++ b/include/DebuggerKit/Detail/Config.h
@@ -33,7 +33,7 @@
#ifndef kDistRelease
-#define kDistVersion "v0.0.7-debuggerkit"
+#define kDistVersion "v0.1.3-debuggerkit"
#define kDistVersionBCD 0x0001
#define ToString(X) Stringify(X)