summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-06-21 08:27:27 +0200
committerAkim Demaille <akim.demaille@gmail.com>2019-06-23 11:20:18 +0200
commit0984f70e08fc005d8522083361e7306f0e5caa98 (patch)
treed229c118e7a75f2f018e9b60cdbc08870d27e301 /configure.ac
parentf26bd45da3c86e107f4373d6eaeed062cc26b3ac (diff)
downloadbison-0984f70e08fc005d8522083361e7306f0e5caa98.tar.gz
d: track locations
* configure.ac (DCFLAGS): Pass -g. * data/skeletons/d.m4 (b4_locations_if): Remove, let bison.m4's one do its job. * data/skeletons/lalr1.d (position): Leave filename empty by default. (position::toString): Don't print empty file names. (location::this): New ctor. (location::toString): Match the implementations of C/C++. (yy_semantic_null): Leave undefined, the previous implementation does not compile. * tests/calc.at: Improve the implementation for D. Enable more checks, in particular using locations. * tests/local.at (AT_YYERROR_DEFINE(d)): Fix its implementation.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 83e2c972..a9dad57c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,7 +192,7 @@ BISON_CXX_COMPILER_POSIXLY_CORRECT
# D.
AC_CHECK_PROGS([DC], [dmd])
-AC_CHECK_PROGS([DCFLAGS], [])
+AC_CHECK_PROGS([DCFLAGS], [-g])
AM_CONDITIONAL([ENABLE_D], [test x"$DC" != x])
# Java.