summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-09-03 06:57:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-09-03 06:57:08 -0700
commit373fc643da68c080dd83c0cc7cf28a93bad5d7ea (patch)
tree6a633a8ec01edfda32c037723ad9f131a2f590cc /txr.c
parentacc53f437c82ed43f0211521659c7e01e1b371c9 (diff)
downloadtxr-373fc643da68c080dd83c0cc7cf28a93bad5d7ea.tar.gz
txr-373fc643da68c080dd83c0cc7cf28a93bad5d7ea.tar.bz2
txr-373fc643da68c080dd83c0cc7cf28a93bad5d7ea.zip
* 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.
Diffstat (limited to 'txr.c')
-rw-r--r--txr.c1
1 files changed, 1 insertions, 0 deletions
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;