ltlcross: extract the color handling code

* bin/common_color.cc, bin/common_color.hh: New files, with
code extracted from ltlcross.cc.
* bin/Makefile.am: Add them.
* bin/ltlcross.cc: Simplify.
This commit is contained in:
Alexandre Duret-Lutz 2017-07-26 12:10:36 +02:00
parent ff4f4ee482
commit 7bfe06b30b
4 changed files with 143 additions and 71 deletions

View file

@ -32,6 +32,8 @@ noinst_LIBRARIES = libcommon.a
libcommon_a_SOURCES = \
common_aoutput.cc \
common_aoutput.hh \
common_color.cc \
common_color.hh \
common_conv.hh \
common_conv.cc \
common_cout.hh \