diff options
| author | TSUYUSATO Kitsune <make.just.on@gmail.com> | 2023-12-01 23:50:57 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-12-01 15:13:45 +0000 |
| commit | 0e599336a20d698d2d7f62ed6db234124260e2cd (patch) | |
| tree | 2f059545ab29af5c1b2c946d8a09c81d02784aae | |
| parent | 3b21932d14a354eaedb1fdbe068efdfdc758a6ac (diff) | |
[ruby/prism] Fix `not_provided` comment
I don't know when it is changed, but the `not_provided` signature is
changed.
https://github.com/ruby/prism/commit/0255cc307d
| -rw-r--r-- | prism/prism.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/prism/prism.c b/prism/prism.c index e0b0690d52..2a8999ce07 100644 --- a/prism/prism.c +++ b/prism/prism.c @@ -776,8 +776,7 @@ pm_conditional_predicate(pm_node_t *node) { * parentheses. In these cases we set the token to the "not provided" type. For * example: * - * pm_token_t token; - * not_provided(&token, parser->previous.end); + * pm_token_t token = not_provided(parser); */ static inline pm_token_t not_provided(pm_parser_t *parser) { |
