fix: Auto evaluate pattern code not working

This commit is contained in:
WerWolv 2022-08-04 10:52:01 +02:00
parent 0f8ac672f3
commit 400bdaa52c
1 changed files with 2 additions and 0 deletions

View File

@ -741,6 +741,8 @@ namespace hex::plugin::builtin {
}
void ViewPatternEditor::parsePattern(const std::string &code) {
this->m_runningParsers++;
auto ast = this->m_parserRuntime->parseString(code);
this->m_patternVariables.clear();