diff options
author | Jan Maria Matejka <mq@ucw.cz> | 2018-08-14 14:36:44 +0200 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-08-14 14:36:44 +0200 |
commit | 7ffc0a6534fb66ad27d22984e25bd0789f4404b6 (patch) | |
tree | 873979e975695abc7929178df20e544731ce8d4a /configure.ac | |
parent | 78ca6ea8f0b8ab312b1e0ef56629a18e3efbce42 (diff) |
Bison: A bit more verbose error messages in config.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9a2e55e2..943d3a7b 100644 --- a/configure.ac +++ b/configure.ac @@ -164,7 +164,12 @@ if test "$bird_bison_synclines" = yes; then M4FLAGS="$M4FLAGS -s" fi +if test "$bird_bison_enhanced_error" = yes; then + BISONFLAGS="$BISONFLAGS -Dparse.lac=full -Dparse.error=verbose" +fi + AC_SUBST([M4FLAGS]) +AC_SUBST([BISONFLAGS]) BIRD_CHECK_PROG_FLAVOR_GNU([$M4], [], |