Skip to content

Commit

Permalink
fix parser error
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 committed Jul 23, 2022
1 parent ca7a8ea commit 71f6901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/parser.yy
Original file line number Diff line number Diff line change
Expand Up @@ -2946,7 +2946,7 @@ traverse_sentence

piped_sentence
: traverse_sentence { $$ = $1; }
| unwind_sentence { $$ = $1; }
| piped_sentence PIPE unwind_sentence { $$ = new PipedSentence($1, $3); }
| piped_sentence PIPE traverse_sentence { $$ = new PipedSentence($1, $3); }
| piped_sentence PIPE limit_sentence { $$ = new PipedSentence($1, $3); }
;
Expand Down

0 comments on commit 71f6901

Please sign in to comment.