[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] D supports the #line directive, so use it.
From: |
Akim Demaille |
Subject: |
Re: [PATCH] D supports the #line directive, so use it. |
Date: |
Fri, 8 Feb 2019 06:13:57 +0100 |
Hi HS,
Could you please submit a complete patch? With the commit message
formatting the same way as the previous commits (have a look at
git log).
Cheers!
> Le 8 févr. 2019 à 00:12, H. S. Teoh <address@hidden> a écrit :
>
> Note, however, that it does *not* support trailing comments after
> the #line directive, so suppress that.
> ---
> data/skeletons/d.m4 | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/data/skeletons/d.m4 b/data/skeletons/d.m4
> index 946f0135..26460ca8 100644
> --- a/data/skeletons/d.m4
> +++ b/data/skeletons/d.m4
> @@ -160,6 +160,14 @@ b4_symbol_foreach([b4_token_enum])
> }
> ])
>
> +# b4_sync_start(LINE, FILE)
> +# -------------------------
> +m4_define([b4_sync_start], [[#]line $1 $2])
> +
> +# b4_sync_end(LINE, FILE)
> +# -----------------------
> +m4_define([b4_sync_end])
> +
> # b4-case(ID, CODE)
> # -----------------
> m4_define([b4_case], [ case $1:
> --
> 2.20.1
>
>