GNU bug report logs - #12770
24.2.1; sh-mode parsing - bitwise leftshift misinterpreted as here-document inside arithmetic expansion $(( ))

Previous Next

Package: emacs;

Reported by: John Schoenick <johns <at> mozilla.com>

Date: Tue, 30 Oct 2012 23:49:02 UTC

Severity: minor

Merged with 11263

Found in versions 23.4, 24.2.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 12770-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: John Schoenick <johns <at> mozilla.com>
Cc: 12770-done <at> debbugs.gnu.org
Subject: Re: bug#12770: 24.2.1;
	sh-mode parsing - bitwise leftshift misinterpreted as here-document
	inside arithmetic expansion $(( ))
Date: Tue, 30 Oct 2012 22:47:14 -0400
> The following, in a sh-mode buffer of shell-type bash:
> echo -n $(( 5 << 2 ))
> Will result in the remainder of the document being mis-interpreted

I've just installed a change which seems to fix this problem.


        Stefan




This bug report was last modified 12 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.