diff --git a/ctags/parsers/actionscript.c b/ctags/parsers/actionscript.c index cbec0e4f..6006cb4a 100644 --- a/ctags/parsers/actionscript.c +++ b/ctags/parsers/actionscript.c @@ -41,43 +41,43 @@ static tagRegexTable actionscriptTagRegexTable[] = { /* Functions */ {"^[ \t]*[(private|public|static|protected|internal|final|override)( \t)]*function[ \t]+([A-Za-z0-9_]+)[ \t]*\\(([^\\{]*)", - "\\1 (\\2", "f,function,functions,methods", NULL}, + "\\1 (\\2", "f,function,functions,methods", NULL, NULL}, /* Getters and setters */ {"^[ \t]*[(public|static|internal|final|override)( \t)]*function[ \t]+(set|get)[ \t]+([A-Za-z0-9_]+)[ \t]*\\(", - "\\2 \\1", "l,field,fields", NULL}, + "\\2 \\1", "l,field,fields", NULL, NULL}, /* Variables */ {"^[ \t]*[(private|public|static|protected|internal)( \t)]*var[ \t]+([A-Za-z0-9_]+)([ \t]*\\:[ \t]*([A-Za-z0-9_]+))*[ \t]*", - "\\1 \\: \\3", "v,variable,variables", NULL}, + "\\1 \\: \\3", "v,variable,variables", NULL, NULL}, /* Constants */ {"^[ \t]*[(private|public|static|protected|internal)( \t)]*const[ \t]+([A-Za-z0-9_]+)([ \t]*\\:[ \t]*([A-Za-z0-9_]+))*[ \t]*", - "\\1 : \\3", "m,macro,macros", NULL}, + "\\1 : \\3", "m,macro,macros", NULL, NULL}, /* Classes */ {"^[ \t]*[(private|public|static|dynamic|final|internal)( \t)]*class[ \t]+([A-Za-z0-9_]+)[ \t]*([^\\{]*)", - "\\1 (\\2)", "c,class,classes", NULL}, + "\\1 (\\2)", "c,class,classes", NULL, NULL}, /* Interfaces */ {"^[ \t]*[(private|public|static|dynamic|final|internal)( \t)]*interface[ \t]+([A-Za-z0-9_]+)[ \t]*([^\\{]*)", - "\\1 (\\2)", "i,interface,interfaces", NULL}, + "\\1 (\\2)", "i,interface,interfaces", NULL, NULL}, /* Packages */ {"^[ \t]*[(private|public|static)( \t)]*package[ \t]+([A-Za-z0-9_.]+)[ \t]*", - "\\1", "p,package", NULL}, + "\\1", "p,package", NULL, NULL}, /* Notes */ {"\\/\\/[ \t]*(NOTE|note|Note)[ \t]*\\:*(.*)", - "\\2", "o,other"}, + "\\2", "o,other", NULL, NULL}, /* Todos */ {"\\/\\/[ \t]*(TODO|todo|ToDo|Todo)[ \t]*\\:*(.*)", - "\\2", "o,other"}, + "\\2", "o,other", NULL, NULL}, /* Prototypes (Put this in for AS1 compatibility...) */ {".*\\.prototype\\.([A-Za-z0-9 ]+)[ \t]*\\=([ \t]*)function( [ \t]?)*\\(", - "\\1", "r,prototype"} + "\\1", "r,prototype", NULL, NULL} }; /* diff --git a/ctags/parsers/cobol.c b/ctags/parsers/cobol.c index a26e572f..1ccc557e 100644 --- a/ctags/parsers/cobol.c +++ b/ctags/parsers/cobol.c @@ -19,17 +19,17 @@ static tagRegexTable cobolTagRegexTable[] = { {"^[ \t]*[0-9]+[ \t]+([A-Z0-9][A-Z0-9-]*)[ \t]+(" "BLANK|OCCURS|IS|JUST|PIC|REDEFINES|RENAMES|SIGN|SYNC|USAGE|VALUE" ")", "\\1", - "d,data,data items", "i"}, + "d,data,data items", "i", NULL}, {"^[ \t]*[FSR]D[ \t]+([A-Z0-9][A-Z0-9-]*)\\.", "\\1", - "f,file,file descriptions (FD, SD, RD)", "i"}, + "f,file,file descriptions (FD, SD, RD)", "i", NULL}, {"^[ \t]*[0-9]+[ \t]+([A-Z0-9][A-Z0-9-]*)\\.", "\\1", - "g,group,group items", "i"}, + "g,group,group items", "i", NULL}, {"^[ \t]*([A-Z0-9][A-Z0-9-]*)\\.", "\\1", - "p,paragraph,paragraphs", "i"}, + "p,paragraph,paragraphs", "i", NULL}, {"^[ \t]*PROGRAM-ID\\.[ \t]+([A-Z0-9][A-Z0-9-]*)\\.", "\\1", - "P,program,program ids", "i"}, + "P,program,program ids", "i", NULL}, {"^[ \t]*([A-Z0-9][A-Z0-9-]*)[ \t]+SECTION\\.", "\\1", - "s,section,sections", "i"}, + "s,section,sections", "i", NULL}, }; /* diff --git a/ctags/parsers/html.c b/ctags/parsers/html.c index 96fd9f08..0158ee96 100644 --- a/ctags/parsers/html.c +++ b/ctags/parsers/html.c @@ -20,9 +20,9 @@ static tagRegexTable htmlTagRegexTable [] = { {"\"]+)\"?" POSSIBLE_ATTRIBUTES "[ \t]*>", "\\2", - "a,anchor,named anchors", "i"}, + "a,anchor,named anchors", "i", NULL}, {"^[ \t]*function[ \t]*([A-Za-z0-9_]+)[ \t]*\\(", "\\1", - "f,function,JavaScript functions", NULL}, + "f,function,JavaScript functions", NULL, NULL}, /* the following matches headings with tags inside like *

Some Text

@@ -34,13 +34,13 @@ static tagRegexTable htmlTagRegexTable [] = { ATTRS ">" SPACES "(<" ATTRS ">" SPACES ")*([^<]+).*" {"", "\\2", - "n,namespace,H1 heading", "i"}, + "n,namespace,H1 heading", "i", NULL}, {"", "\\2", - "c,class,H2 heading", "i"}, + "c,class,H2 heading", "i", NULL}, {"", "\\2", - "v,variable,H3 heading", "i"}, + "v,variable,H3 heading", "i", NULL}, }; /*