mirror of https://github.com/AMT-Cheif/drift.git
Scan [identifiers] in sql queries (#724)
This commit is contained in:
parent
a01f5be2ac
commit
640cae1244
|
@ -192,6 +192,9 @@ class Scanner {
|
|||
_identifier(escapeChar: $backquote);
|
||||
}
|
||||
break;
|
||||
case $lbracket:
|
||||
_identifier(escapeChar: $rbracket);
|
||||
break;
|
||||
case $space:
|
||||
case $cr:
|
||||
case $tab:
|
||||
|
|
|
@ -48,6 +48,7 @@ Map<String, TokenType> testCases = {
|
|||
'@foo': TokenType.atSignVariable,
|
||||
':named': TokenType.colonVariable,
|
||||
'"spo\uD83C\uDF83ky"': TokenType.identifier,
|
||||
'[account name]': TokenType.identifier,
|
||||
};
|
||||
|
||||
void main() {
|
||||
|
|
Loading…
Reference in New Issue