ada: Consolidate parser to avoid some possible crashes

Avoid some possible and occuring NULL-pointer dereferences leading to
crashes.
ada: Fix infinite loop on malformed input

Closes #56
units: Add option to only test a specific language
Added Visual Studio 2013 project files to build ctags
Changes due to adding VS2013 project files
Added define and pragma to prevent MS warnings about
deprecated functions.
Ignore various files created by Visual Studio
Merge pull request #112 from b4n/units-language

units: Add option to only test a specific language
add regex to features files

As reported in #60, regex is used in many areas.
Test cases using regex internally should be skipped when
testing ctags with no regex feature.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
ignore perf output, a.out and *.tmp

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: an alternative script for test.units target of testing.mak

test.units target is too complex.
The test cases are run sequentially. So I rewrite it as a shell script.

Some features not in the test.units are implemented.

1. It can run tests under timeout command.
   Under timeout command all test cases classed to .i(entering infinite
   loop) are run.

2. It can run tests under valgrind.
   all test cases classed to .v are run but the results are ignored.

3. It checks exit status of each running of test cases.
   If the status is not 0, the test is treated as "FAILED".
   If expected.tags file is not prepared in a test, units command checks
   only the exit status.

4. It deals a sub-directory as a category.
   It is proposed by @ffes in #88.
   A directory ended with .r is recognized as a category.
   This feature isn't tested yet.

5. It reports "FIXED".

   If a .b class test(known bug) is passed, it is reported as FIXED.
   If a .i class test(infinite loop) is passed with --with-timeout option,
   it is reported as FIXED.

You can run units with

    $ make -f testing.mak units

UNIT_LANGUAGE and UNIT macros can be used like

    $ make -f testing.mak units UNIT_LANGUAGE=C UNIT=local.c

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: clean up white spaces

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: add clean method and target

You can use this method via make:

	$ make -f testing.mak clean-units

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
ada: new test case generated by badinput command

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Merge pull request #105 from b4n/ada-crash-n-loop

ada: Fix crashes and infinite loops
units: don't report .b test as failed even if its exit-status is not 0

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: report .b test as FIXED if its exit-status is 0 and no expected.tags is prepared

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: fix bugs in reporting valgrind error

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
use bundled fnmatch implementation if fnmatch is not found in the build environment

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
units: report .i test as FIXED if its exit-status is 0 and no expected.tags is prepared

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