Skip to content

Commit 00b3a7e

Browse files
committed
regen/embed.pl: Add missing detail to another error message
I should have squashed this and the previous commit together; sorry.
1 parent 05fb0f3 commit 00b3a7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regen/embed.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ sub generate_proto_h {
260260
$name =~ s/\W/_/ag;
261261

262262
$arg = "const char * const $name";
263-
die_at_end 'm flag required for "literal" argument'
264-
unless $has_mflag;
263+
die_at_end "$plain_func: func: m flag required for"
264+
. '"literal" argument' unless $has_mflag;
265265
}
266266
else {
267267
my $nn = ( $arg =~ s/\bNN\b// );

0 commit comments

Comments
 (0)