summaryrefslogtreecommitdiffhomepage
path: root/include/stc/priv
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-01-18 18:11:51 +0100
committerTyge Løvset <[email protected]>2023-01-18 18:11:51 +0100
commit0c4c4f8bba17562735b67b2923cd23c773aa53a7 (patch)
tree083d12f87f936edd72268fb70e74fce0fb478290 /include/stc/priv
parent5503f7a513a21f833bdba1d70973deaafb2f7a96 (diff)
downloadSTC-modified-0c4c4f8bba17562735b67b2923cd23c773aa53a7.tar.gz
STC-modified-0c4c4f8bba17562735b67b2923cd23c773aa53a7.zip
Improved messages.
Diffstat (limited to 'include/stc/priv')
-rw-r--r--include/stc/priv/template.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stc/priv/template.h b/include/stc/priv/template.h
index de0c8f0d..9634fe2c 100644
--- a/include/stc/priv/template.h
+++ b/include/stc/priv/template.h
@@ -158,9 +158,9 @@
#if !defined i_key
#error "No i_key or i_val defined"
#elif defined i_keyraw ^ defined i_keyto
- #error "Both i_xxxraw and i_xxxto must be defined, if any"
+ #error "Both i_keyraw/valraw and i_keyto/valto must be defined, if any"
#elif defined i_keyfrom && !defined i_keyraw
- #error "i_xxxfrom defined without i_xxxraw"
+ #error "i_keyfrom/valfrom defined without i_keyraw/valraw"
#elif defined i_from || defined i_drop
#error "i_from / i_drop not supported. Define i_keyfrom/i_valfrom and/or i_keydrop/i_valdrop instead"
#endif
@@ -171,7 +171,7 @@
#if c_option(c_no_clone)
#define i_no_clone
#elif !(defined i_keyclone || defined i_no_clone) && (defined i_keydrop || defined i_keyraw)
- #error i_xxxclone should be defined when i_xxxdrop or i_xxxraw is defined
+ #error i_keyclone/valclone should be defined when i_keydrop/valdrop or i_keyraw/valraw is defined
#endif
#ifndef i_keyraw
#define i_keyraw i_key