Re: GtkSourceView: adding multiline comments to Julia



Okay, I the issue might be that first character of the two-character multiline comment (#) is identical to the (one-character) line comment, and the line comment is being parsed first? Browsing through the .lang files, I don't see any other languages like this.  The only one that comes to mind is coffeescript (which uses ###), and there's no .lang file for that.

Haven't dug into the source yet, but if anyone has any suggestions on whether or not this is fixable just within julia.lang, or where else to look, I'm all ears.

Cheers!
   Kevin 


On Sat, May 10, 2014 at 5:08 PM, Kevin Squire <kevin squire gmail com> wrote:
Julia recently added multiline comments, with start and end defined as #= and =#.

I've attempted to add these to julia.lang, based off of other .lang files (e.g., scala.lang), but the syntax highlighting isn't working.  Any hints on what I'm doing wrong? 

Thanks,
   Kevin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]