mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
fix: use db for parser.yy
This commit is contained in:
parent
69b7b0e029
commit
ddcc9a9d77
@ -90,7 +90,7 @@ function parse(text) {
|
||||
case 'c4':
|
||||
c4Db.clear();
|
||||
parser = c4Parser;
|
||||
parser.parser.yy = c4Parser;
|
||||
parser.parser.yy = c4Db;
|
||||
break;
|
||||
case 'gitGraph':
|
||||
gitGraphAst.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user