Skip to content

Commit 590abf8

Browse files
committed
fix comment
1 parent fb17f0b commit 590abf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: jsquery_gram.y

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#include "jsquery.h"
2222

23-
/*
23+
/*
2424
* Bison doesn't allocate anything that needs to live across parser calls,
2525
* so we can easily have it use palloc instead of malloc. This prevents
2626
* memory leaks if we error out during parsing. Note this only works with
@@ -288,7 +288,7 @@ expr:
288288
| path HINT_P right_expr { $3->hint = $2; $$ = makeItemList(lappend($1, $3)); }
289289
| NOT_P expr { $$ = makeItemUnary(jqiNot, $2); }
290290
/*
291-
* In next two lines NOT_P is a patch actually, not a an
291+
* In next two lines NOT_P is a path actually, not a an
292292
* logical expression.
293293
*/
294294
| NOT_P HINT_P right_expr { $3->hint = $2; $$ = makeItemList(lappend(lappend(NIL, makeItemKey(&$1)), $3)); }

0 commit comments

Comments
 (0)