atom-language icon indicating copy to clipboard operation
atom-language copied to clipboard

Quotes in extended routine colonpairs mess up highlighting

Open zoffixznet opened this issue 8 years ago • 1 comments

P.S.: Found this one in roast. At the end of that file even if I place extra quotes into comments the highlighting is still messed up. Not sure if that's simply a fail in my attempt of unbreaking it or if there's something else that's messing them up

Example Code

sub circumfix:<x y> {} # this comment is good
sub circumfix:<w "> {} # this comment is not highlighted right
say 'hello " world'; # the `"` in the string fixes the messup

Picture [optional]

untitled

Leave this in. For internal use.

  • [ ] Fixed in Master
  • [ ] Fixed in Release
  • [ ] Has Tests
  • [ ] Passes Tests

zoffixznet avatar Jan 28 '17 00:01 zoffixznet

This will be tricky to fix, seems to be something odd going on. I may have to special case this

samcv avatar Jan 29 '17 14:01 samcv