diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-09-03 06:57:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-09-03 06:57:08 -0700 |
commit | 373fc643da68c080dd83c0cc7cf28a93bad5d7ea (patch) | |
tree | 6a633a8ec01edfda32c037723ad9f131a2f590cc /txr.c | |
parent | acc53f437c82ed43f0211521659c7e01e1b371c9 (diff) | |
download | txr-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |