Skip to content

Commit 98471a8

Browse files
committed
Fix mixed tab & space indentention
1 parent 9ff22cd commit 98471a8

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

internal/filter/parser.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/filter/parser.y

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ filter_rule: filter_chain logical_op filter_chain
124124
}
125125
| filter_rule logical_op filter_chain
126126
{
127-
$$ = reduceFilter($2, $1, $3)
128-
yylex.(*Lexer).rule = $$
127+
$$ = reduceFilter($2, $1, $3)
128+
yylex.(*Lexer).rule = $$
129129
}
130130
;
131131

@@ -182,15 +182,15 @@ exists_expr: identifier
182182
;
183183

184184
identifier: T_IDENTIFIER
185-
{
186-
column, err := url.QueryUnescape($1)
187-
if err != nil {
188-
// Something went wrong, so just panic and filter.Parse will try to recover from this.
189-
panic(err)
190-
}
191-
192-
$$ = column
193-
}
185+
{
186+
column, err := url.QueryUnescape($1)
187+
if err != nil {
188+
// Something went wrong, so just panic and filter.Parse will try to recover from this.
189+
panic(err)
190+
}
191+
192+
$$ = column
193+
}
194194
;
195195

196196
optional_negation: /* empty */ { $$ = "" }

0 commit comments

Comments
 (0)