fix ant regexes
git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@739 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
parent
d843a8430c
commit
778201aa43
1
NEWS
1
NEWS
|
@ -3,6 +3,7 @@ Current Version: @VERSION@
|
|||
ctags-@VERSION@ (@DATE@)
|
||||
* Don't parse comments after import statements and other tags, contributed by Huandari Lopez to Geany [Python].
|
||||
* Fixed PHP parser to ignore keywords inside comments [PHP, Bug #1795926].
|
||||
* Adjusted regexes for Ant so they won't span multiple tags [Ant].
|
||||
|
||||
ctags-5.8 (09 Jul 2009)
|
||||
* Removed ".ml" as a Lisp extension (now OCaml) [Lisp].
|
||||
|
|
4
ant.c
4
ant.c
|
@ -24,9 +24,9 @@
|
|||
static void installAntRegex (const langType language)
|
||||
{
|
||||
addTagRegex (language,
|
||||
"^[ \t]*<[ \t]*project.*name=\"([^\"]+)\".*", "\\1", "p,project,projects", NULL);
|
||||
"^[ \t]*<[ \t]*project[^>]+name=\"([^\"]+)\".*", "\\1", "p,project,projects", NULL);
|
||||
addTagRegex (language,
|
||||
"^[ \t]*<[ \t]*target.*name=\"([^\"]+)\".*", "\\1", "t,target,targets", NULL);
|
||||
"^[ \t]*<[ \t]*target[^>]+name=\"([^\"]+)\".*", "\\1", "t,target,targets", NULL);
|
||||
}
|
||||
|
||||
extern parserDefinition* AntParser ()
|
||||
|
|
Loading…
Reference in New Issue