ltlfilt, genltl: factor the common output options.
* src/bin/common_output.cc, src/bin/common_output.hh: New file with the common output code. * src/bin/Makefile.am: Add them. * src/bin/genltl.cc, src/bin/ltlfilt.cc: Simplify, using argp's children parser, and calling output_formula().
This commit is contained in:
parent
267183bda7
commit
e0873cc7d6
5 changed files with 155 additions and 86 deletions
|
|
@ -25,5 +25,7 @@ AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
|||
LDADD = $(top_builddir)/src/libspot.la $(top_builddir)/lib/libgnu.a
|
||||
|
||||
bin_PROGRAMS = ltlfilt genltl
|
||||
ltlfilt_SOURCES = ltlfilt.cc
|
||||
genltl_SOURCES = genltl.cc
|
||||
ltlfilt_SOURCES = ltlfilt.cc common_output.cc
|
||||
genltl_SOURCES = genltl.cc common_output.cc
|
||||
|
||||
noinst_HEADERS = common_output.hh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue