ltlcross, ltldo: rename "translators" to "tools" in the code

* bin/common_trans.cc, bin/common_trans.hh, bin/ltlcross.cc,
bin/ltldo.cc: Rename translator_spec and translators to tool_spec and
tools, so that we can reuse these structures for automata tools
in a future autcross.
This commit is contained in:
Alexandre Duret-Lutz 2017-07-26 14:18:46 +02:00
parent 7bfe06b30b
commit 9690c2230d
4 changed files with 30 additions and 30 deletions

View file

@ -31,7 +31,7 @@
extern const struct argp trans_argp;
extern bool opt_relabel;
struct translator_spec
struct tool_spec
{
// The translator command, as specified on the command-line.
// If this has the form of
@ -44,13 +44,13 @@ struct translator_spec
// name of the translator (or spec)
const char* name;
translator_spec(const char* spec);
translator_spec(const translator_spec& other);
translator_spec& operator=(const translator_spec& other);
~translator_spec();
tool_spec(const char* spec);
tool_spec(const tool_spec& other);
tool_spec& operator=(const tool_spec& other);
~tool_spec();
};
extern std::vector<translator_spec> translators;
extern std::vector<tool_spec> tools;
struct quoted_string final: public spot::printable_value<std::string>
{