Village Pump:Home/Syntax Highlighting ( archived 2009-06-18 ): Difference between revisions

→‎OCaml comments: OCaml comments.
(→‎OCaml comments: OCaml comments.)
Line 252:
<lang ocaml>(* a comment *)</lang>
: More generally, can we get this for any language? "Pascal family" languages all use (* foo *) for comments, so adding it would add comment highlighting for lots of languages. --[[User:Mbishop|Mbishop]] 07:02, 5 February 2009 (UTC)
:: Non-trivial. Doing something like that would require different languages to be able to inherit from other languages. Doing something like that would very likely break compatibility with upgrades to the GeSHi engine. It's be nice, though... --[[User:Short Circuit|Short Circuit]] 07:21, 5 February 2009 (UTC)
: Looking at the source for the ocaml language file, it's being defined correctly according to GeSHi language file syntax. I suspect an engine bug. --[[User:Short Circuit|Short Circuit]] 07:21, 5 February 2009 (UTC)