Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal

This commit is contained in:
Wes Garland
2011-04-16 15:13:10 -04:00
parent b114a54691
commit 3b261ede02
2 changed files with 2 additions and 2 deletions

View File

@@ -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);