1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-09-02 12:41:17 +03:00

Backported the rest of MCOL-1659(spaces in identifiers).

This commit is contained in:
Roman Nozdrin
2018-10-07 16:19:50 +03:00
parent 3fffc75d86
commit d1f02026c5

View File

@@ -78,6 +78,7 @@ extended_identifier {ident_start}{extended_ident_cont}*
ident_w_spaces {identifier}\x20*
identifier_quoted {grave_accent}{extended_identifier}{grave_accent}
identifier_double_quoted {double_quote}{extended_identifier}{double_quote}
column_ident_quoted {grave_accent}{ident_w_spaces}+{grave_accent}
integer [-+]?{digit}+
decimal ([-+]?({digit}*\.{digit}+)|({digit}+\.{digit}*))
@@ -187,6 +188,8 @@ LONGTEXT {return LONGTEXT;}
\n { lineno++;}
{column_ident_quoted} { ddlget_lval(yyscanner)->str = scanner_copy(ddlget_text(yyscanner), yyscanner, STRIP_QUOTES); return IDENT;}
{whitespace} {
/* ignore */
}