From 00b3a7e604d29c3daec477a928b694bda41128ff Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 23 Aug 2025 18:11:43 -0600 Subject: [PATCH] regen/embed.pl: Add missing detail to another error message I should have squashed this and the previous commit together; sorry. --- regen/embed.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regen/embed.pl b/regen/embed.pl index 262d333c3c..5a9ea2fa58 100755 --- a/regen/embed.pl +++ b/regen/embed.pl @@ -260,8 +260,8 @@ sub generate_proto_h { $name =~ s/\W/_/ag; $arg = "const char * const $name"; - die_at_end 'm flag required for "literal" argument' - unless $has_mflag; + die_at_end "$plain_func: func: m flag required for" + . '"literal" argument' unless $has_mflag; } else { my $nn = ( $arg =~ s/\bNN\b// );