Error parsing file at token ...

53 views
Skip to first unread message

Frank McGrath

unread,
Apr 7, 2014, 12:32:41 PM4/7/14
to closure-lin...@googlegroups.com
----- FILE  :  test.js -----
Line 1, E:-002: Error parsing file at token "<JavaScriptToken: 1, ), ")", {}, MetaData(None)>". Unable to check the rest of file.
Error "None"
Found 1 errors, including 0 new errors, in 1 files (0 files OK).

The error seems to be from having a right parenthesis in a comment within the function parameters.  A left parenthesis is fine.

A simple example is:

function foo( /* ) */ ) {}

Reply all
Reply to author
Forward
0 new messages