mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-12 02:29:37 +02:00
Multiline comments
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
%}
|
||||
|
||||
%%
|
||||
\%\%[^\n]* /* do nothing */
|
||||
\%\%[^\n]* /* skip comments */
|
||||
\%\%\*((.|\n)*)\*\%\% /* multiline skip comments */
|
||||
\s+ /* skip whitespace */
|
||||
"pie" return 'pie' ;
|
||||
[\s\n\r]+ return 'NL' ;
|
||||
|
Reference in New Issue
Block a user