Parse each individual equation (#1059)
This commit is contained in:
parent
dbc3dc5abb
commit
814473f4d6
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user