pearsonjohn / js-addin

Automatically exported from code.google.com/p/js-addin
0 stars 0 forks source link

debugger; on first line treated as error when configured not to #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. in VS options, select "do not treat debugger keyword as error"
2. create a js file with debugger; on the first line.  JS parser reports syntax 
error on line 1
3. insert a blank line at the top of the file, such that debugger; is now on 
line two.  save file and see that JS parser no longer reports a syntax error 
(expected)

What is the expected output? What do you see instead?
When JS Parser is configured to not treat the debugger keyword as an error, I 
expect it not to do so even if it's on the first line of a file.

What version of the product are you using? On what operating system?
Windows 8.1 JS Parser 3.7.3

Please provide any additional information below.

Original issue reported on code.google.com by bjvanmin...@gmail.com on 20 Nov 2013 at 10:56