Skip to content

Commit 504c9e5

Browse files
committed
1 parent df07280 commit 504c9e5

28 files changed

+1900
-104
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.o
2+
Makefile
3+
config.log
4+
config.status
5+
ctags

acconfig.h

+127
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
/*
2+
* $Id: acconfig.h 318 2003-04-01 05:02:21Z darren $
3+
*
4+
* Copyright (c) 1998-2003, Darren Hiebert
5+
*
6+
* This source code is released for free distribution under the terms of the
7+
* GNU General Public License.
8+
*
9+
* This module contains input source for generating config.h.in
10+
*/
11+
12+
/* Package name.
13+
*/
14+
#undef PACKAGE
15+
16+
/* Package version.
17+
*/
18+
#undef VERSION
19+
20+
/* Define to the appropriate type if <time.h> does not define this.
21+
*/
22+
#undef clock_t
23+
24+
/* Define to long if <stdio.h> does not define this.
25+
*/
26+
#undef fpos_t
27+
28+
/* Define to the appropriate size for tmpnam() if <stdio.h> does not define
29+
* this.
30+
*/
31+
#undef L_tmpnam
32+
33+
/* Define this macro if the field "st_ino" exists in struct stat in
34+
* <sys/stat.h>.
35+
* */
36+
#undef HAVE_STAT_ST_INO
37+
38+
/* Define remove to unlink if you have unlink(), but not remove().
39+
*/
40+
#undef remove
41+
42+
/* Define this value used by fseek() appropriately if <stdio.h>
43+
* (or <unistd.h> on SunOS 4.1.x) does not define them.
44+
*/
45+
#undef SEEK_SET
46+
47+
/* Define as the maximum integer on your system if not defined <limits.h>.
48+
*/
49+
#undef INT_MAX
50+
51+
/* You can define this label to be a string containing the name of a
52+
* site-specific configuration file containing site-wide default options. The
53+
* files /etc/ctags.conf and /usr/local/etc/ctags.conf are already checked,
54+
* so only define one here if you need a file somewhere else.
55+
*/
56+
#undef CUSTOM_CONFIGURATION_FILE
57+
58+
/* Define this label if you want macro tags (defined lables) to use patterns
59+
* in the EX command by default (original ctags behavior is to use line
60+
* numbers).
61+
*/
62+
#undef MACROS_USE_PATTERNS
63+
64+
/* Define this as desired.
65+
* 1: Original ctags format
66+
* 2: Extended ctags format with extension flags in EX-style comment.
67+
*/
68+
#define DEFAULT_FILE_FORMAT 2
69+
70+
/* Define this label if your system supports starting scripts with a line of
71+
* the form "#! /bin/sh" to select the interpreter to use for the script.
72+
*/
73+
#undef SYS_INTERPRETER
74+
75+
/* Define this label if your system uses case-insensitive file names
76+
*/
77+
#undef CASE_INSENSITIVE_FILENAMES
78+
79+
/* Define this label to use the system sort utility (which is probably more
80+
* efficient) over the internal sorting algorithm.
81+
*/
82+
#ifndef INTERNAL_SORT
83+
# undef EXTERNAL_SORT
84+
#endif
85+
86+
/* If you wish to change the directory in which temporary files are stored,
87+
* define this label to the directory desired.
88+
*/
89+
#undef TMPDIR
90+
91+
/* Define this label if regcomp() is broken.
92+
*/
93+
#undef REGCOMP_BROKEN
94+
95+
/* Define this label if you wish to check the regcomp() function at run time
96+
* for correct behavior. This function is currently broken on Cygwin.
97+
*/
98+
#undef CHECK_REGCOMP
99+
100+
/* This corrects the problem of missing prototypes for certain functions
101+
* in some GNU installations (e.g. SunOS 4.1.x).
102+
*/
103+
#undef __USE_FIXED_PROTOTYPES__
104+
105+
/* Define this is you have a prototype for putenv() in <stdlib.h>, but
106+
* doesn't declare its argument as "const char *".
107+
*/
108+
#undef NON_CONST_PUTENV_PROTOTYPE
109+
110+
/* If you receive error or warning messages indicating that you are missing
111+
* a prototype for, or a type mismatch using, one of the following functions,
112+
* define the appropriate label and remake.
113+
*/
114+
#undef NEED_PROTO_REMOVE
115+
#undef NEED_PROTO_UNLINK
116+
#undef NEED_PROTO_MALLOC
117+
#undef NEED_PROTO_GETENV
118+
#undef NEED_PROTO_FGETPOS
119+
#undef NEED_PROTO_STAT
120+
#undef NEED_PROTO_LSTAT
121+
#undef NEED_PROTO_TRUNCATE
122+
#undef NEED_PROTO_FTRUNCATE
123+
124+
/*----------------------------------------------------------------------------
125+
- Lines below this are automatically generated by autoheader
126+
----------------------------------------------------------------------------*/
127+
/* @TOP@ */

ant.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
static void installAntRegex (const langType language)
2525
{
2626
addTagRegex (language,
27-
"^[ \t]*<[ \t]*project.*name=\"([^\"]+)\".*", "\\1", "p,project,projects", NULL);
27+
"^[ \t]*<[ \t]*project[^>]+name=\"([^\"]+)\".*", "\\1", "p,project,projects", NULL);
2828
addTagRegex (language,
29-
"^[ \t]*<[ \t]*target.*name=\"([^\"]+)\".*", "\\1", "t,target,targets", NULL);
29+
"^[ \t]*<[ \t]*target[^>]+name=\"([^\"]+)\".*", "\\1", "t,target,targets", NULL);
3030
}
3131

3232
extern parserDefinition* AntParser ()

0 commit comments

Comments
 (0)