abujehad139 / js-addin

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

Possibility to configure some keywords ignore list #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi guys, 

I have the following lines of code 
...
 someFunction()
    .then(function(result) {...})
    .catch(function (er) { ... });
...
And got syntax error on line with "catch" function. As I understood 
parser considers this like reserved keyword and I can't to change something.
Is it possible to add some ignore list for such cases where I will put "catch" 
as ignored keyword. Or similar to resharper add some special comment before 
this line asking parser to ignore the next line.

Version 3.7.3. Windows 7. Visual Studio 2012.

Thanks in advance

Original issue reported on code.google.com by yaroslav...@gmail.com on 12 Mar 2014 at 5:02