allow more bad javascript code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4110 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
a55a25595e
commit
5f47938e7e
|
@ -1339,6 +1339,7 @@ public class RhinoToAstTranslator {
|
|||
ToolErrorReporter reporter = new ToolErrorReporter(true);
|
||||
CompilerEnvirons compilerEnv = new CompilerEnvirons();
|
||||
compilerEnv.setErrorReporter(reporter);
|
||||
compilerEnv.setReservedKeywordAsIdentifier(true);
|
||||
|
||||
if (DEBUG)
|
||||
System.err.println(("translating " + scriptName + " with Rhino"));
|
||||
|
|
Loading…
Reference in New Issue