Home Download Buy Blog Forum Support

ocaml syntax highlight (greedy) comment parsing bug

ocaml syntax highlight (greedy) comment parsing bug

Postby philou on Mon Mar 26, 2012 9:58 am


thanks for sublime, once two or three showstoppers will be fixed, I'll buy the product :-)

In the objective caml syntax highlight parser, this code trigger an (greedy) bug:

(* double diffScale, double crossoverProb,
void (*TrialSolution)(de_t *, int),
double (*EnergyFunction)(int, double, double *, bool *) *)

it's a commented out C function proto.
the code following it is grayed as a comment while it is not.
shame on the twos *) *) unbalanced, following each other, but perfectly valid ocaml comment.
Posts: 1
Joined: Mon Mar 26, 2012 9:53 am

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 21 guests