Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ module.exports = grammar({
//
// Because of this distinction, a lot of rules have two variants: the
// normal variant, which can appear anywhere that an expression is valid,
// and the "command" varaint, which is only valid in a more limited set of
// and the "command" variant, which is only valid in a more limited set of
// positions, because it can contain "command calls".
//
// The `_expression` rule can appear in relatively few places, but can
Expand Down Expand Up @@ -777,6 +777,7 @@ module.exports = grammar({
call: $ => {
const receiver = choice(
$._call,
$._chained_command_call,
field('method', choice(
$._variable, $._function_identifier,
)),
Expand Down
20 changes: 20 additions & 0 deletions src/grammar.json

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

Loading