Commit 0fe3a8e
authored
Use Token::EOF instead of Option<Token> (apache#195)
This simplifies codes slightly, removing the need deal with the EOF case explicitly.
The clone kludge in `_ => self.expected("date/time field",
Token::Word(w.clone())))` will become unnecessary once we stop using
a separate match for the keywords, as suggested in
https://github.com/andygrove/sqlparser-rs/pull/193#issuecomment-6416071941 parent 2f10153 commit 0fe3a8e
2 files changed
Lines changed: 148 additions & 188 deletions
0 commit comments