summaryrefslogtreecommitdiff
path: root/prism
diff options
context:
space:
mode:
authorTSUYUSATO Kitsune <make.just.on@gmail.com>2023-12-02 12:11:00 +0900
committergit <svn-admin@ruby-lang.org>2023-12-05 15:16:42 +0000
commitff6706b08e445c2927351da307e0d53e48f9332e (patch)
tree84b37e1b2054096d45d46f7f18d3378303d8225f /prism
parent3260ed7e5eeb7313411a682d9734f48920be9691 (diff)
[ruby/prism] Fix a typo
https://github.com/ruby/prism/pull/1949#discussion_r1412568793 https://github.com/ruby/prism/commit/a00f21d10a
Diffstat (limited to 'prism')
-rw-r--r--prism/prism.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism/prism.c b/prism/prism.c
index c94e6210ff..53b60c5d03 100644
--- a/prism/prism.c
+++ b/prism/prism.c
@@ -10366,7 +10366,7 @@ expect3(pm_parser_t *parser, pm_token_type_t type1, pm_token_type_t type2, pm_to
}
static pm_node_t *
-parse_expression(pm_parser_t *parser, pm_binding_power_t binding_power, bool accepts_comamnd_call, pm_diagnostic_id_t diag_id);
+parse_expression(pm_parser_t *parser, pm_binding_power_t binding_power, bool accepts_command_call, pm_diagnostic_id_t diag_id);
/**
* This is a wrapper of parse_expression, which also checks whether the resulting node is value expression.