rename rex to expr in ASTNode

This commit is contained in:
Andy Grove 2018-12-16 14:04:51 -07:00
parent 7aab880387
commit 5d62167d6e
2 changed files with 4 additions and 4 deletions

View file

@ -110,7 +110,7 @@ impl Parser {
"CASE" => self.parse_case_expression(),
"NOT" => Ok(ASTNode::SQLUnary {
operator: SQLOperator::Not,
rex: Box::new(self.parse_expr(0)?),
expr: Box::new(self.parse_expr(0)?),
}),
_ => return parser_err!(format!("No prefix parser for keyword {}", k)),
},