[DEV] update etk null
This commit is contained in:
parent
c63f6b3ce1
commit
1aba54f1bb
@ -202,8 +202,8 @@ void estyle::Lexer::parse() {
|
||||
tockenElement = estyle::lexer::BASIC_TYPE_BOOLEAN;
|
||||
} else if (idData == "std::string") {
|
||||
tockenElement = estyle::lexer::BASIC_TYPE_STD_STRING;
|
||||
} else if ( idData == "std::nullptr"
|
||||
|| idData == "nullptr") {
|
||||
} else if ( idData == "std::null"
|
||||
|| idData == "null") {
|
||||
tockenElement = estyle::lexer::BASIC_TYPE_STD_NULLPTR;
|
||||
} else if (idData == "void") {
|
||||
tockenElement = estyle::lexer::BASIC_TYPE_VOID;
|
||||
|
@ -122,7 +122,7 @@ etk::String estyle::lexer::toString(estyle::lexer::tocken _token) {
|
||||
case estyle::lexer::BASIC_TYPE_FLOAT_96: return "triple";
|
||||
case estyle::lexer::BASIC_TYPE_BOOLEAN: return "bool";
|
||||
case estyle::lexer::BASIC_TYPE_STD_STRING: return "std::string";
|
||||
case estyle::lexer::BASIC_TYPE_STD_NULLPTR: return "std::nullptr";
|
||||
case estyle::lexer::BASIC_TYPE_STD_NULLPTR: return "std::null";
|
||||
case estyle::lexer::BASIC_TYPE_VOID: return "void";
|
||||
|
||||
case estyle::lexer::ELEMENT_FUNCTION: return "FUNCTION";
|
||||
|
Loading…
Reference in New Issue
Block a user