On Fri Dec 10 01:20:32 2010, DOUGDUDE wrote:
Show quoted text> On Fri Dec 10 01:05:55 2010, ROKR wrote:
> > On Fri Dec 10 00:43:34 2010, doug@somethingdoug.com wrote:
> >
> > Okay, was able to trigger it with that file, thanks.
>
> Ok. It looks like the issue was slightly different from the one in that
> ticket; attached is a patch for a test file with the very minimal JS
> file that causes it. Looks like it is caused by a literal quote being
> inside a regular expression.
Thanks, think I figured out the bug in the scanner. The fix is pretty
hacky, but seems to work. All of the tests, yours, parsing jQuery,
parsing jquery.tablesorter.js, pass fine.
Here's a link to the repository with the fixes:
http://xrl.us/bia3ps
(Link to github.com)