GNU bug report logs - #6358
23.2; foreach should not be a javascript keyword

Previous Next

Package: emacs;

Reported by: Jack Tanner <ihok <at> hotmail.com>

Date: Sat, 5 Jun 2010 17:09:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 23.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6358 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Jack Tanner <ihok <at> hotmail.com>
Cc: 6358 <at> debbugs.gnu.org
Subject: Re: bug#6358: 23.2; foreach should not be a javascript keyword
Date: Mon, 07 Jun 2010 17:44:13 -0400
Jack Tanner wrote:

> When editing a .js file in js-mode, "foreach" is highlighted as a
> keyword. It's not a valid JavaScript keyword and should not be
> highlighted.
>
> foreach (var foo in myObj) { } // Invalid construct

I cannot reproduce this with `emacs -Q' using 23.2 on GNU/Linux.

> In GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600)




This bug report was last modified 14 years and 342 days ago.

Previous Next


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