* src/ltlparse/public.hh (format_parse_errors): New function.

* src/ltlparse/fmterror.cc: New file.
* src/ltlparse/Makefile.am (libltlparse_a_SOURCES): Add fmterror.cc.
* src/ltltests/equals.cc, src/ltltests/readltl.cc: Simplify using
format_parse_errors.
This commit is contained in:
Alexandre Duret-Lutz 2003-04-16 12:58:17 +00:00
parent 7425f4a91e
commit 532f9131f5
6 changed files with 52 additions and 41 deletions

View file

@ -21,6 +21,7 @@ $(FROM_LTLPARSE_YY_OTHERS): $(LTLPARSE_YY)
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) $(FROM_LTLPARSE_YY_MAIN)
libltlparse_a_SOURCES = \
fmterror.cc \
$(FROM_LTLPARSE_YY) \
ltlscan.ll \
parsedecl.hh \