mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 16:59:48 +02:00
Multiline comments
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
%x string generic struct
|
||||
|
||||
%%
|
||||
\%\%[^\n]*\n* /* do nothing */
|
||||
\%\%[^\n]*\n* /* skip comments */
|
||||
\%\%\*((.|\n)*)\*\%\% /* multiline skip comments */
|
||||
\n+ return 'NEWLINE';
|
||||
\s+ /* skip whitespace */
|
||||
"classDiagram" return 'CLASS_DIAGRAM';
|
||||
|
Reference in New Issue
Block a user