mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Refactoring
This commit is contained in:
parent
a1696ccdb8
commit
375671e208
2 changed files with 14 additions and 4 deletions
|
@ -107,7 +107,7 @@ fn main() {
|
|||
|
||||
let mut pratt_parser = PrattParser {
|
||||
chars: CharSeq::new(sql),
|
||||
parser: acme_parser
|
||||
parsers: vec![acme_parser, ansi_parser]
|
||||
};
|
||||
|
||||
let expr = pratt_parser.parse_expr().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue