From: Maxence G. <max...@in...> - 2003-02-24 19:57:45
|
> Something just occurred to me. CVS has the ability to run a script on > commits- explicitly, this is so you can run indent on code being > committed. For those who don't know, indent is a program which > (re-)indents C code. Allowing you to enforce convention like "no tabs", > "curly braces on their own lines", etc. > > If something like this existed for Ocaml, we could use to force indenting > rules (once they are settled on). Camlp4 could be used for this, but it loses comments in phrases :-( If we want to put only comments between phrases, it could be what's needed. -- Maxence Guesdon |