Skip to content

Commit

Permalink
Make old compilers happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Nov 3, 2023
1 parent 13e48f3 commit 145a67d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/prism/extension.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ parser_comments(pm_parser_t *parser, VALUE source) {
case PM_COMMENT___END__:
type = rb_cPrismDATAComment;
break;
default:
type = rb_cPrismInlineComment;
break;
}

VALUE comment_argv[] = { rb_class_new_instance(3, location_argv, rb_cPrismLocation) };
Expand Down

0 comments on commit 145a67d

Please sign in to comment.