Actually call ParseTypeDef.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
329848d9d5
commit
a9c4dfdece
|
@ -44,8 +44,9 @@ namespace MalachScript::Parser {
|
|||
break;
|
||||
}
|
||||
ScopedPtr<const ParsedStatement> statement;
|
||||
auto result = ParseClass(statement, currentToken, log) || ParseFunc(statement, currentToken, log) ||
|
||||
ParseNamespace(statement, currentToken, log);
|
||||
// TODO: Sort by performance
|
||||
auto result = ParseTypeDef(statement, currentToken, log) || ParseClass(statement, currentToken, log) ||
|
||||
ParseFunc(statement, currentToken, log) || ParseNamespace(statement, currentToken, log);
|
||||
if (!result) {
|
||||
// TODO: Log error
|
||||
PROGRESS_TOKEN(currentToken);
|
||||
|
|
Loading…
Reference in New Issue