Skip to content

Commit 43faa71

Browse files
authored
Merge pull request universal-ctags#1740 from masatake/bool-and-boolean-literal
Java,JSON,TTCN: use "boolean" instead of "bool"
2 parents 1473836 + 43630fd commit 43faa71

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

parsers/c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ static const keywordDesc KeywordTable [] = {
503503
{ "bit", KEYWORD_BIT, { 0, 0, 0, 0, 0, 1 } },
504504
{ "body", KEYWORD_BODY, { 0, 0, 0, 1, 0, 0 } },
505505
{ "bool", KEYWORD_BOOL, { 0, 0, 0, 1, 0, 0 } },
506-
{ "bool", KEYWORD_BOOLEAN, { 0, 0, 0, 0, 1, 0 } },
506+
{ "boolean", KEYWORD_BOOLEAN, { 0, 0, 0, 0, 1, 0 } },
507507
{ "break", KEYWORD_BREAK, { 0, 0, 0, 1, 0, 0 } },
508508
{ "byte", KEYWORD_BYTE, { 0, 0, 0, 1, 1, 0 } },
509509
{ "case", KEYWORD_CASE, { 1, 1, 1, 1, 1, 0 } },

parsers/json.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static kindDefinition JsonKinds [] = {
7777
{ true, 'a', "array", "arrays" },
7878
{ true, 'n', "number", "numbers" },
7979
{ true, 's', "string", "strings" },
80-
{ true, 'b', "bool", "booleans" },
80+
{ true, 'b', "boolean", "booleans" },
8181
{ true, 'z', "null", "nulls" }
8282
};
8383

parsers/ttcn.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ static struct s_ttcnKeyword {
122122
{T_ANY, "any", K_NONE},
123123
{T_ANYTYPE, "anytype", K_NONE},
124124
{T_BITSTRING, "bitstring", K_NONE},
125-
{T_BOOLEAN, "bool", K_NONE},
125+
{T_BOOLEAN, "boolean", K_NONE},
126126
{T_CASE, "case", K_NONE},
127127
{T_CALL, "call", K_NONE},
128128
{T_CATCH, "catch", K_NONE},

0 commit comments

Comments
 (0)