Fixed up files relating to new parsers added by David Fishburn.
git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@724 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
parent
373d37b4b1
commit
5032fc0752
|
@ -13,15 +13,15 @@ DosBatch dfishburn David Fishburn
|
|||
Flex dfishburn David Fishburn
|
||||
Java elliotth Elliott Hughes
|
||||
JavaScript dfishburn David Fishburn
|
||||
MatLab dfishburn David Fishburn
|
||||
Ocaml vberthoux Vincent Berthoux
|
||||
MATlAB dfishburn David Fishburn
|
||||
OCaml vberthoux Vincent Berthoux
|
||||
Perl perlguy0 Dmitri Tikhonov
|
||||
PHP jafl John Lindal
|
||||
Python elias Elias Pschernig
|
||||
Ruby elliotth Elliott Hughes
|
||||
SML jkoshy Joseph Koshy
|
||||
SQL dfishburn David Fishburn
|
||||
Tex dfishburn David Fishburn
|
||||
TeX dfishburn David Fishburn
|
||||
Vim dfishburn David Fishburn
|
||||
All else dhiebert Darren Hiebert
|
||||
|
||||
|
|
13
NEWS
13
NEWS
|
@ -2,14 +2,19 @@ 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 Ant language, contributed by David Fishburn.
|
||||
* Added support for DOS Batch language, contributed by David Fishburn.
|
||||
* Added support for Flex (Adobe) language, contributed by David Fishburn.
|
||||
* Added support for MATLAB language, contributed by David Fishburn.
|
||||
* Added support for Objective Camel (OCaml), provided by Vincent Berthoux [Patch #2738723].
|
||||
* Added support for TeX language, contributed by David Fishburn.
|
||||
* Added support for VHDL language, contributed by Nicolas Vincent [Bug #1943306].
|
||||
* 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].
|
||||
* Added regex support when compiling with MinGW. Gnu regex module now included in all distributions.
|
||||
* Added support for "v" kind, for variables [Python].
|
||||
* Added support for class and member variables [PHP, Bug #1037086].
|
||||
* Added support for recent enhancements to Eiffel language [Eiffel].
|
||||
* Added support for ASP classes, contributed by Zendhi Nagao; changes meaning of 'c' kind flag [ASP].
|
||||
* Added regex support when compiling with MinGW. Gnu regex module now included in all distributions.
|
||||
* Fixed detection of triple strings inside other strings [Python, Bug #1988130].
|
||||
* Fixed an endless loop with comments in triple strings [Python, Bug #1988027].
|
||||
* Fixed bug where functions were sometimes seen as methods [Python, Bug #1988026].
|
||||
|
|
84
ant.c
84
ant.c
|
@ -1,42 +1,42 @@
|
|||
/*
|
||||
* $Id: yacc.c 443 2006-05-30 04:37:13Z darren $
|
||||
*
|
||||
* Copyright (c) 2001-2002, Nick Hibma <n_hibma@van-laarhoven.org>
|
||||
*
|
||||
* This source code is released for free distribution under the terms of the
|
||||
* GNU General Public License.
|
||||
*
|
||||
* This module contains functions for generating tags for YACC language files.
|
||||
*/
|
||||
|
||||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "general.h" /* must always come first */
|
||||
|
||||
#include <string.h>
|
||||
#include "parse.h"
|
||||
|
||||
/*
|
||||
* FUNCTION DEFINITIONS
|
||||
*/
|
||||
|
||||
static void installAntRegex (const langType language)
|
||||
{
|
||||
addTagRegex (language,
|
||||
"^[ \t]*<[ \t]*project.*name=\"([^\"]+)\".*", "\\1", "p,project,projects", NULL);
|
||||
addTagRegex (language,
|
||||
"^[ \t]*<[ \t]*target.*name=\"([^\"]+)\".*", "\\1", "t,target,targets", NULL);
|
||||
}
|
||||
|
||||
extern parserDefinition* AntParser ()
|
||||
{
|
||||
static const char *const extensions [] = { "build.xml", NULL };
|
||||
parserDefinition* const def = parserNew ("Ant");
|
||||
def->extensions = extensions;
|
||||
def->initialize = installAntRegex;
|
||||
def->regex = TRUE;
|
||||
return def;
|
||||
}
|
||||
|
||||
/* vi:set tabstop=4 shiftwidth=4: */
|
||||
/*
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (c) 2008, David Fishburn
|
||||
*
|
||||
* This source code is released for free distribution under the terms of the
|
||||
* GNU General Public License.
|
||||
*
|
||||
* This module contains functions for generating tags for Ant language files.
|
||||
*/
|
||||
|
||||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "general.h" /* must always come first */
|
||||
|
||||
#include <string.h>
|
||||
#include "parse.h"
|
||||
|
||||
/*
|
||||
* FUNCTION DEFINITIONS
|
||||
*/
|
||||
|
||||
static void installAntRegex (const langType language)
|
||||
{
|
||||
addTagRegex (language,
|
||||
"^[ \t]*<[ \t]*project.*name=\"([^\"]+)\".*", "\\1", "p,project,projects", NULL);
|
||||
addTagRegex (language,
|
||||
"^[ \t]*<[ \t]*target.*name=\"([^\"]+)\".*", "\\1", "t,target,targets", NULL);
|
||||
}
|
||||
|
||||
extern parserDefinition* AntParser ()
|
||||
{
|
||||
static const char *const extensions [] = { "build.xml", NULL };
|
||||
parserDefinition* const def = parserNew ("Ant");
|
||||
def->extensions = extensions;
|
||||
def->initialize = installAntRegex;
|
||||
def->regex = TRUE;
|
||||
return def;
|
||||
}
|
||||
|
||||
/* vi:set tabstop=4 shiftwidth=4: */
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* $Id: yacc.c 443 2006-05-30 04:37:13Z darren $
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (c) 2001-2002, Nick Hibma <n_hibma@van-laarhoven.org>
|
||||
* Copyright (c) 2009, David Fishburn
|
||||
*
|
||||
* This source code is released for free distribution under the terms of the
|
||||
* GNU General Public License.
|
||||
*
|
||||
* This module contains functions for generating tags for YACC language files.
|
||||
* This module contains functions for generating tags for DOS Batch language files.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
<a href="countries.html">countries</a>
|
||||
in all 7 continents <i>(including Antarctica!)</i>
|
||||
<li>
|
||||
Supports 37 <a href="languages.html">programming languages</a>
|
||||
Supports 41 <a href="languages.html">programming languages</a>
|
||||
</li>
|
||||
<li>Featured in the book,
|
||||
<a href="http://www.oreilly.com/catalog/vi6/chapter/ch08.html#ch08_05.htm">
|
||||
|
|
6
matlab.c
6
matlab.c
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* $Id: yacc.c 443 2006-05-30 04:37:13Z darren $
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (c) 2001-2002, Nick Hibma <n_hibma@van-laarhoven.org>
|
||||
* Copyright (c) 2008, David Fishburn
|
||||
*
|
||||
* This source code is released for free distribution under the terms of the
|
||||
* GNU General Public License.
|
||||
*
|
||||
* This module contains functions for generating tags for YACC language files.
|
||||
* This module contains functions for generating tags for MATLAB language files.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
include source.mak
|
||||
|
||||
REGEX_DEFINES = -D__USE_GNU -Dbool=int -Dfalse=0 -Dtrue=1 -Dstrcasecmp=stricmp
|
||||
REGEX_DEFINES = -DHAVE_REGCOMP -D__USE_GNU -Dbool=int -Dfalse=0 -Dtrue=1 -Dstrcasecmp=stricmp
|
||||
DEFINES = -DWIN32 $(REGEX_DEFINES)
|
||||
INCLUDES = -I. -Ignu_regex
|
||||
OPT = /O2
|
||||
|
|
4
tex.c
4
tex.c
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* $Id: tex.c 666 2008-05-15 17:47:31Z dfishburn $
|
||||
*
|
||||
* Copyright (c) 2003, Darren Hiebert
|
||||
* Copyright (c) 2008, David Fishburn
|
||||
*
|
||||
* This source code is released for free distribution under the terms of the
|
||||
* GNU General Public License.
|
||||
*
|
||||
* This module contains functions for generating tags for Tex languages.
|
||||
* This module contains functions for generating tags for TeX language files.
|
||||
*
|
||||
* Tex language reference:
|
||||
* http://en.wikibooks.org/wiki/TeX#The_Structure_of_TeX
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
Languages Supported by Exuberant Ctags:
|
||||
</h3>
|
||||
<ol>
|
||||
<li>Ant</li>
|
||||
<li>Assembler</li>
|
||||
<li>ASP</li>
|
||||
<li>Awk</li>
|
||||
|
@ -18,8 +19,10 @@ Languages Supported by Exuberant Ctags:
|
|||
<li>C++</li>
|
||||
<li>C#</li>
|
||||
<li>COBOL</li>
|
||||
<li>DOS Batch</li>
|
||||
<li>Eiffel</li>
|
||||
<li>Erlang</li>
|
||||
<li>Flex</li>
|
||||
<li>Fortran</li>
|
||||
<li>HTML</li>
|
||||
<li>Java</li>
|
||||
|
@ -41,6 +44,7 @@ Languages Supported by Exuberant Ctags:
|
|||
<li>S-Lang</li>
|
||||
<li>SML (Standard ML)</li>
|
||||
<li>Tcl</li>
|
||||
<li>TeX</li>
|
||||
<li>Vera</li>
|
||||
<li>Verilog</li>
|
||||
<li>VHDL</li>
|
||||
|
|
Loading…
Reference in New Issue