jed-users mailing list

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

[Jed-users-l] multi line comment


Hi,

I'm trying to make an object pascal mode for Jed. In object pascal 3 
kinds of comment exist :

     // single line comment

     {
         multi line comment 1
     }

     (*
         multi line comment 2
     *)

The corresponding lines in my 'pascal.sl' file are :

define_syntax("(*", "*)", '%', "pascal");
define_syntax("{", "}", '%', "pascal");
define_syntax("//", "\n", '%', "pascal");

My problem is that I can't make the 2 multi-line style comment work 
together (no problem for single line comments).

Any idea ?

Thanks.



_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


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