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

jsquery_gram.y

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy