gozilla10 / jsdoc-toolkit

Automatically exported from code.google.com/p/jsdoc-toolkit
0 stars 0 forks source link

Missing semi-colons in TokenReader prevent use of rhino 1.7R3 #334

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to use jsdoc with Rhino 1.7R3

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

Compiler error: 

jsdoc_toolkit/app/lib/JSDOC/TokenReader.js: line 18: missing ; before statement
js:     /**@ignore*/ tokens.lastSym = function() {

*** plus some more similar errors ***

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

This is with JSDoc 2.1.0, but I believe the problem still exists in 2.4.0

Please provide any additional information below.

I think this can be fixed by simply adding semi-colons on the ends of lines 17 
and 22 in TokenReader.js .

Original issue reported on code.google.com by aliibra...@google.com on 17 Feb 2012 at 6:07

GoogleCodeExporter commented 8 years ago
After investigating, this is a bug in Rhino and has been fixed in Rhino trunk: 
https://github.com/mozilla/rhino/pull/13. I still think it is worth it to fix 
since the Rhino release cycle has been very slow lately and fix is simple and 
unlikely to cause problems.

Original comment by ali.h.ib...@gmail.com on 18 Feb 2012 at 3:20