summaryrefslogtreecommitdiffstats
path: root/unwind.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-04-17 06:44:23 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-04-17 06:44:23 -0700
commit245884375b2d8e2a6d856a85e281e84147a1caa7 (patch)
treea877e5499003cb0ecf81d8af8b2bd2818e0d9f58 /unwind.h
parent4e8c983e12b8235cfd4fa3594c8064d51fcb67c6 (diff)
downloadtxr-245884375b2d8e2a6d856a85e281e84147a1caa7.tar.gz
txr-245884375b2d8e2a6d856a85e281e84147a1caa7.tar.bz2
txr-245884375b2d8e2a6d856a85e281e84147a1caa7.zip
lib: error message cleanup.
Eliminate function names from message string literals; they are interpolated via ~s from the symbol. Consistently use compile-error in macros. * share/txr/stdlib/asm.tl (asm-error): New function. (oc-base backpatch, assembler (define-label, parse-args, asm-one), bits-to-obj): Use asm-error. * share/txr/stdlib/awk.tl (awk-error): New function. (awk-state rec-to-f, awk-expander): Use awk-error. * share/txr/stdlib/conv.tl (conv): Function name out of string literal. * share/txr/stdlib/getopts.tl (getopts-error): New function. (opt-desc): Use getopts-error. * share/txr/stdlib/ifa.tl (ifa): Use compile-error; use symbol for name. (if-to-cond): Use compile-error. * share/txr/stdlib/place.tl (shift, defplace, get-mb): Use compile-error. (lset, placelet*, placelet): Use compile-error; use symbol for name. * share/txr/stdlib/socket.tl (str-inaddr, str-in6addr, str-inaddr-net-impl, str-inaddr-net, str-in6addr-net): Use symbols for function names. * share/txr/stdlib/txr-case.tl (txr-case-impl): Use compile-error and symbol for function name. * share/txr/stdlib/with-resources.tl (with-resources): Use compile-error and symbol for function name.
Diffstat (limited to 'unwind.h')
0 files changed, 0 insertions, 0 deletions