Merge pull request #309 from ashsearle/master

Show a little lenience for white-space around names
This commit is contained in:
Knut Sveidqvist 2016-02-29 07:55:48 +01:00
commit 2168cce020

View File

@ -44,7 +44,7 @@
"sequenceDiagram" return 'SD';
"," return ',';
";" return 'NL';
[^\->:\n,;]+ return 'ACTOR';
[^\->:\n,;]+ { yytext = yytext.trim(); return 'ACTOR'; }
"->>" return 'SOLID_ARROW';
"-->>" return 'DOTTED_ARROW';
"->" return 'SOLID_OPEN_ARROW';