Skip to content

Commit

Permalink
undo precedence change
Browse files Browse the repository at this point in the history
  • Loading branch information
peter committed Jan 6, 2025
1 parent 7273679 commit 7b41318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/libpg_query/grammar/grammar.y
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
*/
%nonassoc UNBOUNDED /* ideally should have same precedence as IDENT */
%nonassoc IDENT GENERATED NULL_P PARTITION RANGE ROWS GROUPS PRECEDING FOLLOWING CUBE ROLLUP ENUM_P
%left '+' '-'
%left Op OPERATOR /* multi-character ops and user-defined operators */
%left '+' '-'
%left '*' '/' '%' INTEGER_DIVISION
%left '^' POWER_OF
/* Unary Operators */
Expand Down

0 comments on commit 7b41318

Please sign in to comment.