It was calling yystack.locationAt() with two parameters instead of one.

* data/skeletons/d.m4: Fix.
---
 data/skeletons/d.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/skeletons/d.m4 b/data/skeletons/d.m4
index 7a9d3efe..f0bcb99b 100644
--- a/data/skeletons/d.m4
+++ b/data/skeletons/d.m4
@@ -345,7 +345,7 @@ m4_define([b4_lhs_location],
 # Expansion of @POS, where the current rule has RULE-LENGTH symbols
 # on RHS.
 m4_define([b4_rhs_location],
-[yystack.locationAt ([$1], [$2])])
+[yystack.locationAt (([$1]) - ([$2]))])
 
 
 # b4_lex_param
-- 
2.17.1


Reply via email to