Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: boolean typo #896

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@ else if (zzAtEOF) {
// fall through
case 222: break;
case 103:
{ return CfscriptTokenTypes.BOOLAEN_TYPE;
{ return CfscriptTokenTypes.BOOLEAN_TYPE;
}
// fall through
case 223: break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public interface CfscriptTokenTypes {
IElementType ANY_TYPE = new CfmlElementType("ANY_TYPE");
IElementType ARRAY_TYPE = new CfmlElementType("ARRAY_TYPE");
IElementType BINARY_TYPE = new CfmlElementType("BINARY_TYPE");
IElementType BOOLAEN_TYPE = new CfmlElementType("BOOLAEN_TYPE");
IElementType BOOLEAN_TYPE = new CfmlElementType("BOOLEAN_TYPE");
IElementType DATE_TYPE = new CfmlElementType("DATE_TYPE");
IElementType GUID_TYPE = new CfmlElementType("GUID_TYPE");
IElementType NUMERIC_TYPE = new CfmlElementType("NUMERIC_TYPE");
Expand All @@ -199,7 +199,7 @@ public interface CfscriptTokenTypes {
IElementType IMPORT_KEYWORD = new CfmlElementType("IMPORT_KEYWORD");

TokenSet TYPE_KEYWORDS = TokenSet
.create(ANY_TYPE, ARRAY_TYPE, BINARY_TYPE, BOOLAEN_TYPE, DATE_TYPE, GUID_TYPE, NUMERIC_TYPE, QUERY_TYPE, STRING_TYPE, STRUCT_TYPE,
.create(ANY_TYPE, ARRAY_TYPE, BINARY_TYPE, BOOLEAN_TYPE, DATE_TYPE, GUID_TYPE, NUMERIC_TYPE, QUERY_TYPE, STRING_TYPE, STRUCT_TYPE,
UUID_TYPE, VARIABLENAME_TYPE, VOID_TYPE, XML_TYPE, COMPONENT_KEYWORD);

TokenSet ACCESS_KEYWORDS = TokenSet.create(PUBLIC_KEYWORD, PRIVATE_KEYWORD, REMOTE_KEYWORD, PACKAGE_KEYWORD);
Expand All @@ -211,7 +211,7 @@ public interface CfscriptTokenTypes {
COMPONENT_KEYWORD, INTERFACE_KEYWORD,
PUBLIC_KEYWORD, PRIVATE_KEYWORD, REMOTE_KEYWORD, PACKAGE_KEYWORD,
REQUIRED_KEYWORD,
ANY_TYPE, ARRAY_TYPE, BINARY_TYPE, BOOLAEN_TYPE, DATE_TYPE, GUID_TYPE, NUMERIC_TYPE, QUERY_TYPE, STRING_TYPE, STRUCT_TYPE,
ANY_TYPE, ARRAY_TYPE, BINARY_TYPE, BOOLEAN_TYPE, DATE_TYPE, GUID_TYPE, NUMERIC_TYPE, QUERY_TYPE, STRING_TYPE, STRUCT_TYPE,
UUID_TYPE, VARIABLENAME_TYPE, VOID_TYPE, XML_TYPE, FINALLY_KEYWORD,
IMPORT_KEYWORD, ACTION_NAME);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ VARIABLE_TYPE_DECL = (("/*"){WHITE_SPACE_CHAR}"@cfmlvariable"~("*/"))|(("//"){WH
"any" { return CfscriptTokenTypes.ANY_TYPE; }
"array" { return CfscriptTokenTypes.ARRAY_TYPE; }
"binary" { return CfscriptTokenTypes.BINARY_TYPE; }
"boolean" { return CfscriptTokenTypes.BOOLAEN_TYPE; }
"boolean" { return CfscriptTokenTypes.BOOLEAN_TYPE; }
"date" { return CfscriptTokenTypes.DATE_TYPE; }
"guid" { return CfscriptTokenTypes.GUID_TYPE; }
"numeric" { return CfscriptTokenTypes.NUMERIC_TYPE; }
Expand Down