From b188e7a4f3d2bad0372635ac965aafc395cd9b82 Mon Sep 17 00:00:00 2001 From: Tim Voronov Date: Thu, 25 Oct 2018 18:17:49 -0400 Subject: [PATCH] Updated in parser --- pkg/parser/fql/fql_lexer.go | 4 ++-- pkg/parser/fql/fql_parser.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/parser/fql/fql_lexer.go b/pkg/parser/fql/fql_lexer.go index 2df09515..091e3bff 100644 --- a/pkg/parser/fql/fql_lexer.go +++ b/pkg/parser/fql/fql_lexer.go @@ -276,7 +276,7 @@ var lexerSymbolicNames = []string{ "And", "Or", "Range", "Assign", "QuestionMark", "RegexNotMatch", "RegexMatch", "For", "Return", "Distinct", "Filter", "Sort", "Limit", "Let", "Collect", "SortDirection", "None", "Null", "BooleanLiteral", "Into", "Keep", "With", - "count", "All", "Any", "aggregate", "Like", "Not", "In", "Param", "Identifier", + "Count", "All", "Any", "Aggregate", "Like", "Not", "In", "Param", "Identifier", "StringLiteral", "TemplateStringLiteral", "IntegerLiteral", "FloatLiteral", } @@ -288,7 +288,7 @@ var lexerRuleNames = []string{ "And", "Or", "Range", "Assign", "QuestionMark", "RegexNotMatch", "RegexMatch", "For", "Return", "Distinct", "Filter", "Sort", "Limit", "Let", "Collect", "SortDirection", "None", "Null", "BooleanLiteral", "Into", "Keep", "With", - "count", "All", "Any", "aggregate", "Like", "Not", "In", "Param", "Identifier", + "Count", "All", "Any", "Aggregate", "Like", "Not", "In", "Param", "Identifier", "StringLiteral", "TemplateStringLiteral", "IntegerLiteral", "FloatLiteral", "HexDigit", "DecimalIntegerLiteral", "ExponentPart", "Letter", "Symbols", "Digit", "DQSring", "SQString", diff --git a/pkg/parser/fql/fql_parser.go b/pkg/parser/fql/fql_parser.go index 8195fa4a..ecdaded5 100644 --- a/pkg/parser/fql/fql_parser.go +++ b/pkg/parser/fql/fql_parser.go @@ -277,7 +277,7 @@ var symbolicNames = []string{ "And", "Or", "Range", "Assign", "QuestionMark", "RegexNotMatch", "RegexMatch", "For", "Return", "Distinct", "Filter", "Sort", "Limit", "Let", "Collect", "SortDirection", "None", "Null", "BooleanLiteral", "Into", "Keep", "With", - "count", "All", "Any", "aggregate", "Like", "Not", "In", "Param", "Identifier", + "Count", "All", "Any", "Aggregate", "Like", "Not", "In", "Param", "Identifier", "StringLiteral", "TemplateStringLiteral", "IntegerLiteral", "FloatLiteral", }