Parse each individual equation (#1059)

This commit is contained in:
Pepe Rivera 2020-03-03 10:53:03 -08:00 committed by GitHub
parent dbc3dc5abb
commit 814473f4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,6 +289,17 @@ namespace GraphControl
co_return false; co_return false;
} }
unique_ptr<IExpression> expr;
wstring parsableEquation = s_getGraphOpeningTags;
parsableEquation += equationRequest;
parsableEquation += s_getGraphClosingTags;
// Wire up the corresponding error to an error message in the UI at some point
if (!(expr = m_solver->ParseInput(parsableEquation)))
{
co_return false;
}
request += equationRequest; request += equationRequest;
} }