chore: Add comment for yy.

This commit is contained in:
Sidharth Vinod
2023-08-28 13:39:37 +05:30
parent cd198290d7
commit 4d5313699e

View File

@@ -51,6 +51,7 @@ export class Diagram {
originalParse(cleanupComments(extractFrontMatter(text, this.db, configApi.addDirective)));
if (this.parser.parser !== undefined) {
// The parser.parser.yy is only present in JISON parsers. So, we'll only set if required.
this.parser.parser.yy = this.db;
}
this.init = diagram.init;