Skip to content

Commit 7b55d89

Browse files
committed
consystency changes
1 parent 7edbe86 commit 7b55d89

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/libs/SearchParser/autocompleteParser.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ function peg$parse(input, options) {
272272
var peg$f0 = function(ranges) { return { autocomplete, ranges }; };
273273
var peg$f1 = function(filters) { return filters.filter(Boolean).flat(); };
274274
var peg$f2 = function(key, op, value) {
275+
//hehhehe
275276
if (!value) {
276277
autocomplete = {
277278
key,
@@ -1571,7 +1572,7 @@ function peg$parse(input, options) {
15711572
return s0;
15721573
}
15731574

1574-
let autocomplete = null;
1575+
let autocomplete = null;
15751576
peg$result = peg$startRuleFunction();
15761577

15771578
if (options.peg$library) {
@@ -1591,7 +1592,6 @@ function peg$parse(input, options) {
15911592
}
15921593

15931594
throw peg$buildStructuredError(
1594-
// heheheh
15951595
peg$maxFailExpected,
15961596
peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,
15971597
peg$maxFailPos < input.length

src/libs/SearchParser/autocompleteParser.peggy

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ filter = @(defaultFilter / freeTextFilter)
2424

2525
defaultFilter
2626
= _ key:autocompleteKey _ op:operator _ value:identifier? {
27+
//hehhehe
2728
if (!value) {
2829
autocomplete = {
2930
key,

0 commit comments

Comments
 (0)