Fix fir tests

This commit is contained in:
Knut Sveidqvist
2022-06-26 21:30:49 +02:00
parent 0a55cda0a9
commit 8484d55a6a
4 changed files with 12 additions and 6 deletions

View File

@@ -79,8 +79,9 @@ function parse(text, dia) {
try {
text = text + '\n';
const diag = dia ? dia : new Diagram(text);
diag.db.clear();
const cnf = configApi.getConfig();
let parser;
let parser = diag.parser;
log.debug('Type ' + diag.type);
parser.parser.yy.graphType = diag.type;