MadcapJake / language-perl6fe

»ö« Atom Perl 6 Support - Forgotten Edition »ö«
https://github.com/perl6/atom-language-perl6
Other
16 stars 3 forks source link

Syntax Highlighter Explodes when words `token`, `rule`, or `regex` are used as named argument #33

Open zoffixznet opened 8 years ago

zoffixznet commented 8 years ago

Issue Description

When passing named argument named :token, :rule, or :regex to a method, syntax highlighting explodes and everything that follows is highlighted incorrectly (for example as a string, if the argument's value is given with <>)

Example Code

Foo.bar: :token<Foo>, :some-other-arg;
Foo.bar: :regex<Foo>, :some-other-arg;
Foo.bar: :rule<Foo>, :some-other-arg;

Foo.bar: :token, :some-other-arg;
Foo.bar: :regex, :some-other-arg;
Foo.bar: :rule, :some-other-arg;

Picture

untitled untitled