* src/ltlast/formulae.hh: Rename as ...

* src/ltlast/formula.hh: ... this.
* src/ltlast/Makefile.am (libltlast_a_SOURCES): Adjust.
* src/ltlast/formula.hh (formulae): Rename as ...
(formula): ... this.
Adjust all uses.
This commit is contained in:
Alexandre Duret-Lutz 2003-04-16 13:11:34 +00:00
parent 532f9131f5
commit ef2d6323e0
22 changed files with 104 additions and 97 deletions

View file

@ -6,7 +6,7 @@
void
syntax(char *prog)
{
std::cerr << prog << " [-d] formulae" << std::endl;
std::cerr << prog << " [-d] formula" << std::endl;
exit(2);
}
@ -19,23 +19,23 @@ main(int argc, char **argv)
syntax(argv[0]);
bool debug = false;
int formulae_index = 1;
int formula_index = 1;
if (!strcmp(argv[1], "-d"))
{
debug = true;
if (argc < 3)
syntax(argv[0]);
formulae_index = 2;
formula_index = 2;
}
spot::ltl::parse_error_list pel;
spot::ltl::formulae *f = spot::ltl::parse(argv[formulae_index],
spot::ltl::formula *f = spot::ltl::parse(argv[formula_index],
pel, debug);
spot::ltl::parse_error_list::iterator it;
exit_code =
spot::ltl::format_parse_errors(std::cerr, argv[formulae_index], pel);
spot::ltl::format_parse_errors(std::cerr, argv[formula_index], pel);
if (f)
{