Updated various items, fixed some typos
units: add args.ctags to test line directive

This test case was designed for testing line directives of cop.
(See testing.mak of test.line dir target.)

So --line-directives is added as argument for ctags when running
this test case.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
C: print the pattern for a #define macro if --excmd=mixed is given

This patch fixes a bug that the pattern for a #define macro is not
printed though --excmd=mixed is given:

Old output:

	$ cat Units/c-define-mixed.d/input.c
	#define X 1
	/* 2 */
	/* 3 */
	/* 4 */
	/* 5 */
	#define Y(v) (6 + v)
	/* 7 */
	$ ctags -o - --excmd=mixed --fields=+n Units/c-define-mixed.d/input.c
	X	Units/c-define-mixed.d/input.c	1;"	d	line:1	file:
	Y	Units/c-define-mixed.d/input.c	6;"	d	line:6	file:

New output with this patch:

	$ ./ctags -o - --excmd=mixed --fields=+n Units/c-define-mixed.d/input.c
	X	Units/c-define-mixed.d/input.c	/^#define X /;"	d	line:1	file:
	Y	Units/c-define-mixed.d/input.c	/^#define Y(/;"	d	line:6	file:

expected.tags files are also aligned to new corrected output.
New test case c-define-mixed.d is added.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Units: remove unnecessary repeated definition of $(VALGRIND)

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
javascript: Fix aliases definition
Allow Javascript new operator to apply to any object constructor

js.c only allowed keywords 'function' 'Function' or 'Object' after
'new' but js syntax allows any constructor function:

var name = new constructor_function( args );

ie an identifier where js.c allowed only keywords.
So changed js.c to allow any identifier as well as the keywords.
JavaScript: fix parsing of regular expressions in a return statement
Units: don't pass --quiet to valgrind

Now the output of valgrind is recorded in a separate file.
So there is no reason to specify --quiet; more output is helpful
for debugging.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Units: specify --*-kind=* and --field=* to improve code coverages in semi-fuzzing

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
verilog: add void to the parameter list of skipToEOL

An empty parameter list is warned by sparse.
This patch suppress it.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
lxcmd: add static modifier for file local constant

static modifier is added to PseudoTagPrefix which
is a constant used only in lxcmd.c.
This is reported by sparse.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
lxcmd: Use NULL for initialize an pointer variable

Suppress a warning reported by sparse.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
ocaml, readtags: add static modifier for file local variables and constants

static modifiers are added to variables and constants
they are used only in a file.

This pach suppress warnings reported by sparse.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
ruby: Use NULL for initialize an pointer variable

Suppress a warning reported by sparse.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
vim: fix/improve `isMap`: ignore `norm[al]`
JavaScript: fix parsing of files starting with a shebang

From Geany bug https://sourceforge.net/p/geany/bugs/1016/
JavaScript: don't choke on array lists
javascript: Fix scope after some constructs
JavaScript: don't choke when returning object literals
JavaScript: recognize assignation to a parenthesized expression