Skip to content

Commit

Permalink
Fix #3802: Enforce space after env
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy committed Sep 12, 2023
1 parent a80f491 commit 3faa0d2
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 3faa0d2

Please sign in to comment.