Introduce --*-kinds option to apply --<LANG>-kinds option to all languages.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Introduce --<LANG>-kinds=* notation to enable all kinds of <LANG>.

If * is specfied as <LANG> like --*-kind=*, enable of all
kinds of all languages.

Sometimes I want to add as much information as possible to tags file.
This patch simplyfies command line to add all kinds of all languages
to tags file.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Describe --*-kinds=* option

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Merge pull request #22 from masatake/all-kinds-v0

Includes all kinds of all languages when -*--kinds=*
Fix incorrect Assert line.

`name' is refereed in Assert of foreachLanguage.
However, there is no `name' in this scope.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Declare resetRegexKinds in parse.h

The prototype declaration is needed to
use the function from parse.c.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
verilog: Use macro to get vString length
tex: Use macro to get vString length

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tex: Fix wrong argument for vStringLength

This is the fix for the typo I introduced
the last commit(2d485a48340e50abda54be7f3eda38d175c88595).

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Fix error when parsing empty file for generating TAGS file

Fix-for: exuberant-bugs#355
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
gitignore: Ignore *.od file generated by make test

make test generates object files suffixed with .od.
They should be ignored.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
gitignore: ignore files generated by autotools

Files and directories generated by autotools should
be ignored.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
gitignore: ignore backup files generated by emacs

*~ files are backup files generated by emacs.
These should be ignored.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Remove configure

configure file is automatically generated from configure.ac by
autoconf. This should not be in git tree.

However, configure must be re-generated when releasing
new version.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Fixed problem detecting function definitions using circumflexes used for managed classes under MS.NET.

git-svn-id: http://svn.code.sf.net/p/ctags/code/trunk@780 c5d04d22-be80-434c-894e-aa346cc9e8e8
(cherry picked from commit adb179fc1197118077ec7ecb59372dc7083b1009)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Fixed problem detecting function definitions using circumflexes used for managed classes under MS.NET.

git-svn-id: http://svn.code.sf.net/p/ctags/code/trunk@781 c5d04d22-be80-434c-894e-aa346cc9e8e8
(cherry picked from commit 1dcf7cda2720054483cbb2052adb353b65365b6d)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Replaced calls to strcpy() with memmove() where the strings overlapped, for
which case the behavior of strcpy() is undefined.

git-svn-id: http://svn.code.sf.net/p/ctags/code/trunk@782 c5d04d22-be80-434c-894e-aa346cc9e8e8
(cherry picked from commit 2408c5bbc174375575d7aa41a8176edc85393245)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Replaced calls to strcpy() with memmove() where the strings overlapped, for which case the behavior of strcpy() is undefined.

git-svn-id: http://svn.code.sf.net/p/ctags/code/trunk@783 c5d04d22-be80-434c-894e-aa346cc9e8e8
(cherry picked from commit bf1ac3d51d4d3594a93f0ae2687ac10c1be96599)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Jan Larres enabled function signatures for the Python parser.

git-svn-id: http://svn.code.sf.net/p/ctags/code/trunk@784 c5d04d22-be80-434c-894e-aa346cc9e8e8
(cherry picked from commit 8b604a6e016e1b2b22bd629bbd80ae2a3430d2af)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Most Vim files have a .vim extension.
A new deployment archive format was created with a .vba extension.
These are Vimball Archives and must be parsed differently from
regular Vim files.

They follow this format:
    " Vimball Archiver comment
    UseVimball
    finish
    filename
    line count (n) for filename
    (n) lines
    filename
    line count (n) for filename
    (n) lines
    ...

Parsing is easy, look for UseVimBall as the first line of uncommented code.
Grab the filename, followed by the # of lines, skip those lines and
look for the next filename.

Added a new Kind for these files:
	{ TRUE,  'n', "filename", "vimball filename" },

So the full list is:
    Vim
        a  autocommand groups
        c  user-defined commands
        f  function definitions
        m  maps
        v  variable definitions
        n  vimball filename

David Fishburn

git-svn-id: http://svn.code.sf.net/p/ctags/code/trunk@786 c5d04d22-be80-434c-894e-aa346cc9e8e8
(cherry picked from commit 1a1177ad084452761e02a737d979d8a725783f6d)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>