Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal
This commit is contained in:
@@ -670,7 +670,7 @@ ProcessFile(JSContext *cx,
|
||||
}
|
||||
bufp += strlen(bufp);
|
||||
lineno++;
|
||||
} while (!JS_BufferIsCompilableUnit(cx, obj, buffer, strlen(buffer)));
|
||||
} while (!JS_BufferIsCompilableUnit(cx, JS_FALSE, obj, buffer, strlen(buffer)));
|
||||
|
||||
/* Clear any pending exception from previous failed compiles. */
|
||||
JS_ClearPendingException(cx);
|
||||
|
||||
Reference in New Issue
Block a user