diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-01-10 13:55:03 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-01-10 13:55:03 (GMT) |
commit | 585a2f345be7f58a6811f0eceda8c2b39e103deb (patch) | |
tree | 09f7cc7f776253ba949cc83e9488f59acb49f39f /tools | |
parent | 239694d99ad81f1e435125e76a2a930213d06b21 (diff) |
Fixed a bug when the replacing string contains the replaced pattern.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/d2c/rules.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/d2c/rules.c b/tools/d2c/rules.c index 3101727..d527454 100644 --- a/tools/d2c/rules.c +++ b/tools/d2c/rules.c @@ -468,6 +468,7 @@ bool write_decoding_rules(decoding_rules *rules, CondActionType filter, int fd, { case CAT_SEE: +#if 0 dprintf(fd, "\t\t\tinstr = %s_read_%sinstr_%s", arch, subarch, rule->action.details); /* TODO : adapter les paramètres d'appel selon le 'coder' */ @@ -476,6 +477,7 @@ bool write_decoding_rules(decoding_rules *rules, CondActionType filter, int fd, dprintf(fd, "\t\t\tgoto quick_exit;\n"); *exit = true; +#endif break; case CAT_UNPREDICTABLE: |