Skip to content

Commit

Permalink
[ruby/prism] Fix not_provided comment
Browse files Browse the repository at this point in the history
I don't know when it is changed, but the `not_provided` signature is
changed.

ruby/prism@0255cc307d
  • Loading branch information
makenowjust authored and matzbot committed Dec 1, 2023
1 parent 3b21932 commit 0e59933
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prism/prism.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 0e59933

Please sign in to comment.