From 373fc643da68c080dd83c0cc7cf28a93bad5d7ea Mon Sep 17 00:00:00 2001 From: Kaz Kylheku <kaz@kylheku.com> Date: Wed, 3 Sep 2014 06:57:08 -0700 Subject: * lib.c (symbol_setname): New static function. (obj_init): Change exception symbol names with underscores to use friendly dashes instead. (compat_fixup): New function. * lib.h (compat_fixup): Declared. * txr.1: Change occurrences of exception symbols from underscores to dashes. * txr.c (txr_main): Call compat_fixup when -C option is processed. --- txr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'txr.c') diff --git a/txr.c b/txr.c index 16a2cbe7..a2bb9dd2 100644 --- a/txr.c +++ b/txr.c @@ -407,6 +407,7 @@ int txr_main(int argc, char **argv) prog_string, auto_str(version), nao); return EXIT_FAILURE; } + compat_fixup(opt_compat); } } break; -- cgit v1.2.3