jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Making my own Haskell mode


Hello v01d,

v01d <phreakuencies@xxxxxxxxx> wrote:
> a) I don't know how should I define multiline comments using DFA
> (looking at cmode, it seems that it uses some wierd regular expressions
> that end up matching lines between other lines that have the /* and */.
> I don't know if this is the way I should do it (even so, I'm not very
> sure what should I match).

It's not possible. DFA only matches single lines and does not have a
state. You must use the old highlighting scheme

define_syntax("/*", "*/", '%' "haskel")

Bye, Jörg.
-- 
Der Klügere gibt nach …
… deshalb regieren die Dummen die Welt!

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]