Added support for Objective Caml (OCaml) language, provided by Vincent Berthoux [Patch #2738723].
git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@717 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
parent
1f1933c6b9
commit
4d5518856a
2
NEWS
2
NEWS
|
@ -1,6 +1,8 @@
|
|||
Current Version: @VERSION@
|
||||
|
||||
ctags-@VERSION@ (@DATE@)
|
||||
* Removed ".ml" as a Lisp extension (now OCaml) [Lisp].
|
||||
* Added support for Objective Camel (OCaml), provided by Vincent Berthoux [OCaml, Patch #2738723].
|
||||
* Added support for Pyrex/Cython declarations [Python].
|
||||
* Added support for "v" kind for variables [Python].
|
||||
* Added support for new language: VHDL, contributed by Nicolas Vincent [VHDL, Bug #1943306].
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
module ModuleFoo = struct
|
||||
type foobar =
|
||||
ConstructorFoo
|
||||
| ConstructorBar of int * char list
|
||||
end
|
||||
|
||||
type 'a foorecord =
|
||||
{ foofield : 'a;
|
||||
barfield : int;
|
||||
mutable foobarfield : list char -> int -> unit }
|
||||
|
||||
(* op redif *)
|
||||
let (+-) a b =
|
||||
let aplus = a + b
|
||||
and aminus = a - b
|
||||
in
|
||||
(aplus, aminus)
|
||||
|
||||
let foo_function a b = (a, b)
|
||||
|
||||
class fooClass =
|
||||
object (self)
|
||||
val x = ()
|
||||
method fooMethod = x
|
||||
end
|
||||
|
2
lisp.c
2
lisp.c
|
@ -126,7 +126,7 @@ static void findLispTags (void)
|
|||
extern parserDefinition* LispParser (void)
|
||||
{
|
||||
static const char *const extensions [] = {
|
||||
"cl", "clisp", "el", "l", "lisp", "lsp", "ml", NULL
|
||||
"cl", "clisp", "el", "l", "lisp", "lsp", NULL
|
||||
};
|
||||
parserDefinition* def = parserNew ("Lisp");
|
||||
def->kinds = LispKinds;
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
LuaParser, \
|
||||
MakefileParser, \
|
||||
MatLabParser, \
|
||||
OcamlParser, \
|
||||
PascalParser, \
|
||||
PerlParser, \
|
||||
PhpParser, \
|
||||
|
|
|
@ -34,6 +34,7 @@ SOURCES = \
|
|||
make.c \
|
||||
matlab.c \
|
||||
nestlevel.c \
|
||||
ocaml.c \
|
||||
options.c \
|
||||
parse.c \
|
||||
pascal.c \
|
||||
|
@ -96,6 +97,7 @@ OBJECTS = \
|
|||
make.$(OBJEXT) \
|
||||
matlab.$(OBJEXT) \
|
||||
nestlevel.$(OBJEXT) \
|
||||
ocaml.$(OBJEXT) \
|
||||
options.$(OBJEXT) \
|
||||
parse.$(OBJEXT) \
|
||||
pascal.$(OBJEXT) \
|
||||
|
@ -120,4 +122,3 @@ OBJECTS = \
|
|||
vim.$(OBJEXT) \
|
||||
yacc.$(OBJEXT) \
|
||||
vstring.$(OBJEXT)
|
||||
|
||||
|
|
|
@ -27,6 +27,8 @@ Languages Supported by Exuberant Ctags:
|
|||
<li>Lisp</li>
|
||||
<li>Lua</li>
|
||||
<li>Make</li>
|
||||
<li>MATLAB</li>
|
||||
<li>Objective Caml</li>
|
||||
<li>Pascal</li>
|
||||
<li>Perl</li>
|
||||
<li>PHP</li>
|
||||
|
|
Loading…
Reference in New Issue