[Jed-users-l] multi line comment

Yann MERIGNAC yann.merignac at laposte.net
Wed Feb 9 11:35:13 UTC 2011


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.





More information about the Jed-users-l mailing list