Skip to content

Commit 63b30a2

Browse files
committed
croak_xs_usage pod: remove unnecessary diag_listed_as
This ended up in the documentation for croak_xs_usage() where it was more confusing than useful. Also fix a missing "," in the provided equivalent code. Fixes #23310
1 parent 2904b5b commit 63b30a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

universal.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,7 @@ A specialised variant of C<croak()> for emitting the usage message for xsubs
384384
works out the package name and subroutine name from C<cv>, and then calls
385385
C<croak()>. Hence if C<cv> is C<&ouch::awk>, it would call C<croak> as:
386386
387-
diag_listed_as: SKIPME
388-
croak("Usage: %" SVf "::%" SVf "(%s)", "ouch" "awk",
387+
croak("Usage: %" SVf "::%" SVf "(%s)", "ouch", "awk",
389388
"eee_yow");
390389
391390
=cut

0 commit comments

Comments
 (0)