[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-line like C-style comments ( /* code */ ) in bash
From: |
Dan Douglas |
Subject: |
Re: multi-line like C-style comments ( /* code */ ) in bash |
Date: |
Sat, 07 Sep 2013 20:54:07 -0500 |
User-agent: |
KMail/4.11.1 (Linux/3.11.1-pf+; KDE/4.11.1; x86_64; ; ) |
On Saturday, September 07, 2013 08:05:53 PM Edik Bondarenko wrote:
> I am added function `discard_multiline_comments` which disables code
> between /* and */ (C-style comments).
> The body of the function is located in the file y.tab.c : 5140 .
> Can this functionality be added in the next release ?
That syntax can't work. It would have to be restricted so heavily in order to
not break anything that it wouldn't work in places you'd normally expect
comments to function.
Perhaps a triple-pound.
###
block
comment
here
###
Even that would have to be disabled in POSIX mode. I don't have a strong
desire for this. A good editor should make normal comments painless enough.
--
Dan Douglas