Skip to content

Commit

Permalink
Fix mixed tab & space indentention
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Aug 1, 2024
1 parent 2fa142b commit b299ca4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions internal/filter/parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ filter_rule: filter_chain logical_op filter_chain
}
| filter_rule logical_op filter_chain
{
$$ = reduceFilter($1, $2, $3)
yylex.(*Lexer).rule = $$
$$ = reduceFilter($1, $2, $3)
yylex.(*Lexer).rule = $$
}
;

Expand Down Expand Up @@ -182,15 +182,15 @@ exists_expr: identifier
;

identifier: T_IDENTIFIER
{
column, err := url.QueryUnescape($1)
if err != nil {
// Something went wrong, so just panic and filter.Parse will try to recover from this.
panic(err)
}

$$ = column
}
{
column, err := url.QueryUnescape($1)
if err != nil {
// Something went wrong, so just panic and filter.Parse will try to recover from this.
panic(err)
}

$$ = column
}
;

optional_negation: /* empty */ { $$ = "" }
Expand Down

0 comments on commit b299ca4

Please sign in to comment.