Skip to content

Commit 1fb21cd

Browse files
Update src/parser/mod.rs
Co-authored-by: Ifeanyi Ubah <[email protected]>
1 parent b04cbe9 commit 1fb21cd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/parser/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5201,11 +5201,6 @@ impl<'a> Parser<'a> {
52015201
let mut name = None;
52025202
let mut data_type = self.parse_data_type()?;
52035203

5204-
// It may appear that the first token can be converted into a known
5205-
// type, but this could also be a collision as some types are only
5206-
// present in some dialects and therefore some type reserved keywords
5207-
// may be freely used as argument names in other dialects.
5208-
52095204
// To check whether the first token is a name or a type, we need to
52105205
// peek the next token, which if it is another type keyword, then the
52115206
// first token is a name and not a type in itself.

0 commit comments

Comments
 (0)