|
From: | Lorenzo Bettini |
Subject: | Re: [Help-source-highlight] C-sharp style of surce-highlight |
Date: | Fri, 21 Apr 2006 19:33:35 +0200 |
User-agent: | Mail/News 1.5 (X11/20060228) |
Lorenzo Bettini wrote:
I modified the file you sent me as follows: -------------------------------- preproc = "using" include "cpp.lang" subst keyword = "abstract|event|new|struct ", "as|explicit|null|switch", "base|extern|this", "false|operator|throw", "break|finally|out|true", "fixed|override|try", "case|params|typeof", "catch|for|private", "foreach|protected", "checked|goto|public|unchecked", "class|if|readonly|unsafe", "const|implicit|ref", "continue|in|return", "virtual", "default|interface|sealed|volatile", "delegate|internal", "do|is|sizeof|while", "lock|stackalloc", "else|static", "enum|namespace", "get|partial|set", "value|where|yield" subst type = "bool|byte|sbyte|char|decimal|double", "float|int|uint|long|ulong|object", "short|ushort|string"
sorry I had forgotten to add "void" to types: subst type = "bool|byte|sbyte|char|decimal|double", "float|int|uint|long|ulong|object", "short|ushort|string|void" -- +-----------------------------------------------------+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD in Computer Science | | Dip. Sistemi e Informatica, Univ. di Firenze | | Florence - Italy (GNU/Linux User # 158233) | | Home Page : http://www.lorenzobettini.it | | http://music.dsi.unifi.it XKlaim language | | http://www.purplesucker.com Deep Purple Cover Band | | http://www.gnu.org/software/src-highlite | | http://www.gnu.org/software/gengetopt | | http://www.lorenzobettini.it/software/gengen | | http://www.lorenzobettini.it/software/doublecpp | +-----------------------------------------------------+
[Prev in Thread] | Current Thread | [Next in Thread] |