diff options
Diffstat (limited to 'dev/LibCompiler/Parser.h')
| -rw-r--r-- | dev/LibCompiler/Parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/LibCompiler/Parser.h b/dev/LibCompiler/Parser.h index 4ca1c75..779bf36 100644 --- a/dev/LibCompiler/Parser.h +++ b/dev/LibCompiler/Parser.h @@ -10,7 +10,7 @@ namespace LibCompiler { - inline auto kInvalidFrontend = "NoLang"; + inline auto kInvalidFrontend = "NA"; /// @brief Compiler backend, implements a frontend, such as C, C++... /// See Toolchain, for some examples. @@ -38,7 +38,7 @@ namespace LibCompiler virtual bool IsValid() { - return strcmp(this->Language(), kInvalidFrontend); + return strcmp(this->Language(), kInvalidFrontend) > 0; } }; |
