yoya / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

Typing a hash ('#') character outside of a string hangs emacs #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In any buffer with js2-mode active, type a '#' before any non-commented
line of code.

What is the expected output? What do you see instead?

I expect to be able to type the '#'.  Instead, Emacs locks up and my
laptop's fan starts up, which I assume means that js2-mode's syntax
hilighting is in an infinite loop.  Unfortunately, I'm a Python programmer,
so I happen to mistakenly type '#' instead of '//' fairly often. :)

What version of the product are you using? On what operating system?

The latest version as of today--js2-20080413.el.

Please provide any additional information below.

js2-mode is awesome--thanks for making this!

Original issue reported on code.google.com by var...@gmail.com on 15 May 2008 at 5:47

GoogleCodeExporter commented 8 years ago
This is fixed in more recent versions.

Original comment by steve.ye...@gmail.com on 16 Jun 2008 at 3:35