bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/5] d: enable #line output


From: Akim Demaille
Subject: [PATCH 2/5] d: enable #line output
Date: Thu, 20 Jun 2019 07:08:28 +0200

* data/skeletons/d.m4 (b4_sync_start): New.
---
 data/skeletons/d.m4 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/data/skeletons/d.m4 b/data/skeletons/d.m4
index 9ebce565..109c3a01 100644
--- a/data/skeletons/d.m4
+++ b/data/skeletons/d.m4
@@ -38,6 +38,11 @@ m4_define([b4_comment],
 [_b4_comment([$1], [$2/* ], [$2   ], [  */])])
 
 
+# b4_sync_start(LINE, FILE)
+# -------------------------
+m4_define([b4_sync_start], [[#]line $1 $2])
+
+
 # b4_list2(LIST1, LIST2)
 # ----------------------
 # Join two lists with a comma if necessary.
-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]