We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78c4340 commit 0c67d79Copy full SHA for 0c67d79
1 file changed
src/client/compiler/parser/Parser.ts
@@ -2053,8 +2053,8 @@ export class Parser {
2053
position: columnTerm.position
2054
}
2055
columns.push(column);
2056
- if (this.comesToken(TokenType.keywordAs)) {
2057
- this.nextToken();
+ if (this.comesToken(TokenType.keywordAs) || this.comesToken(TokenType.identifier)) {
+ this.skip(TokenType.keywordAs);
2058
if (this.expect(TokenType.identifier, false)) {
2059
column.alias = "" + this.cct.value;
2060
0 commit comments