Support leading comments for sequenceDiagrams

This commit is contained in:
Ash Searle
2016-03-02 17:26:21 +00:00
parent 7858186ecd
commit 9cedbea2cf
2 changed files with 4 additions and 2 deletions

View File

@@ -64,7 +64,9 @@
%% /* language grammar */
start
: SD document { yy.apply($2);return $2; }
: SPACE start
| NL start
| SD document { yy.apply($2);return $2; }
;
document