nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] syntax: go: fix bugs in number literal regex


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] syntax: go: fix bugs in number literal regex
Date: Tue, 20 Feb 2018 10:42:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Op 19-02-18 om 21:48 schreef Tom Levy:
>> To humor you, I will apply that.
> 
> Thank you, much appreciated.

Pushed, commit fef195bc.

>> ... a trailing comment in a shell
>> script is perfectly correct even when it is glued to the preceding
>> statement.
> 
> For posterity, when I run "echo foo#bar" in bash 4.4 I get "foo#bar".

My phrasing was inaccurate.  What I meant was something like this:

  echo foo;#bar

The ; is not part of the statement; it separates it from what follows.
But the shell syntax will not color "#bar" as a comment.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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