Skip to content

Commit

Permalink
Merge pull request #309 from ashsearle/master
Browse files Browse the repository at this point in the history
Show a little lenience for white-space around names
  • Loading branch information
knsv committed Feb 29, 2016
2 parents d2e9918 + 7858186 commit 2168cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diagrams/sequenceDiagram/parser/sequenceDiagram.jison
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 2168cce

Please sign in to comment.