* src/ltltest/readltl.cc, src/ltltest/equals.cc: Cosmetics.
This commit is contained in:
parent
2a0f88373e
commit
83cb6f3a39
3 changed files with 9 additions and 7 deletions
|
|
@ -7,27 +7,27 @@
|
|||
#include "ltlvisit/nenoform.hh"
|
||||
|
||||
void
|
||||
syntax(char *prog)
|
||||
syntax(char* prog)
|
||||
{
|
||||
std::cerr << prog << " formula1 formula2" << std::endl;
|
||||
exit(2);
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
main(int argc, char** argv)
|
||||
{
|
||||
if (argc != 3)
|
||||
syntax(argv[0]);
|
||||
|
||||
|
||||
spot::ltl::parse_error_list p1;
|
||||
spot::ltl::formula *f1 = spot::ltl::parse(argv[1], p1);
|
||||
spot::ltl::formula* f1 = spot::ltl::parse(argv[1], p1);
|
||||
|
||||
if (spot::ltl::format_parse_errors(std::cerr, argv[1], p1))
|
||||
return 2;
|
||||
|
||||
spot::ltl::parse_error_list p2;
|
||||
spot::ltl::formula *f2 = spot::ltl::parse(argv[2], p2);
|
||||
spot::ltl::formula* f2 = spot::ltl::parse(argv[2], p2);
|
||||
|
||||
if (spot::ltl::format_parse_errors(std::cerr, argv[2], p2))
|
||||
return 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue