Skip to content

Commit

Permalink
Fix rizinorg#3802: Enforce space after env (rizinorg#3849)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy authored and Viktor Volisov committed Sep 16, 2023
1 parent 09cae2c commit dc24797
Show file tree
Hide file tree
Showing 4 changed files with 8,315 additions and 8,159 deletions.
2 changes: 1 addition & 1 deletion subprojects/rizin-shell-parser/grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ module.exports = grammar({
prec.left(
seq(
field("command", alias($._env_stmt_identifier, $.cmd_identifier)),
field("args", optional(alias($.eq_sep_args, $.args))),
optional(seq(/[ ]+/, field("args", optional(alias($.eq_sep_args, $.args))))),
),
),
_env_stmt_identifier: ($) => "env",
Expand Down
53 changes: 35 additions & 18 deletions subprojects/rizin-shell-parser/src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dc24797

Please sign in to comment.