Rosetta Code:Village Pump/Syntax highlighting: Difference between revisions

m
Line 484:
(ref 3).contents (* the field of a structure *)</lang>
also I don't find it very uniform to colorise elements that follow a module name, and not when the module is opened:
<lang ocaml>open Unix (* equivalent *)
(* equivalent elements, but here with different colors *)
sleep
O_CREAT
O_CREAT (* these elements are the same as previously but with different color *)</lang>
open LargeFile
{ contents = 3 }</lang>
so I think GeSHi should not colorise elements after a module name.
This would by the way fix the bug with float operations.