mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
a4cf45ee33
I keep getting syntax errors with no line numbers as well. That happens when I use Context.compileReader(..) to compile the script. The DefaultErrorReporter will throw an exception with only the message and not the line it happened on. It is of course easy to workaround using your own error reporter, but I've attached a patch to add on the line and source name so the DefaultErrorReporter gives the similar output as EcmaError if that is wanted. |
||
---|---|---|
.. | ||
benchmarks | ||
docs | ||
jsd | ||
jsdj | ||
jsj | ||
macbuild | ||
ref | ||
rhino | ||
src | ||
tests | ||
.cvsignore | ||
landbranch.pl | ||
Makefile.in | ||
makefile.win |