Skip to content

Commit

Permalink
Fix #3802: Enforce space after env (#3849)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy authored and ret2libc committed Oct 13, 2023
1 parent 913b896 commit bc1044e
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 bc1044e

Please sign in to comment.