Lazy loading fix for example-diagram and mindmaps

This commit is contained in:
Knut Sveidqvist
2022-10-03 07:01:56 +02:00
parent 02a0f87562
commit 56add0756f
12 changed files with 334 additions and 26 deletions

View File

@@ -8,7 +8,7 @@
%%
"info" return 'info' ;
"example-diagram" return 'example-diagram' ;
[\s\n\r]+ return 'NL' ;
[\s]+ return 'space';
"showInfo" return 'showInfo';
@@ -22,8 +22,8 @@
%% /* language grammar */
start
// %{ : info document 'EOF' { return yy; } }
: info document 'EOF' { return yy; }
// %{ : example-diagram document 'EOF' { return yy; } }
: example-diagram document 'EOF' { return yy; }
;
document