Revert "Clang import: Throw InternalError when nodeType is unknown"
This reverts commit 589174b92d
.
This commit is contained in:
parent
589174b92d
commit
b16944b310
|
@ -1192,7 +1192,7 @@ Token *clangimport::AstNode::createTokens(TokenList *tokenList)
|
|||
createScope(tokenList, Scope::ScopeType::eWhile, body, whiletok);
|
||||
return nullptr;
|
||||
}
|
||||
throw InternalError(tokenList->back(), "ClangImport::AstNode::createTokens: Unhandled nodeType: nodeType");
|
||||
return addtoken(tokenList, "?" + nodeType + "?");
|
||||
}
|
||||
|
||||
Token * clangimport::AstNode::createTokensCall(TokenList *tokenList)
|
||||
|
|
Loading…
Reference in New Issue