[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8632: 23.2; shell-script[bash] doesn't handle bitshift $(( 1 << 16 )
From: |
Vincent Lefevre |
Subject: |
bug#8632: 23.2; shell-script[bash] doesn't handle bitshift $(( 1 << 16 )) |
Date: |
Tue, 17 Apr 2012 12:28:31 +0200 |
User-agent: |
Mutt/1.5.21-6201-vl-r48020 (2011-12-20) |
On 2011-05-13 16:12:54 -0300, Stefan Monnier wrote:
> > In shell-script mode (bash minor mode) Emacs 23.2 incorrectly parses the
> > following line as a HERE DOCUMENT.
>
> > echo $(( 1 << 16 ))
>
> > It is confused because sh-font-lock-open-heredoc (in sh-script.el)
> > does not know about bash's ARITHMETIC EXPANSION.
>
> Indeed, thanks for spotting this.
Actually this is a much more general problem. See
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11263
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#8632: 23.2; shell-script[bash] doesn't handle bitshift $(( 1 << 16 )),
Vincent Lefevre <=