Auto merge of #13005 - cjm00:starting-line-fix, r=Wafflespeanut

Changed first line of script to line 1 instead of line 0

Changed starting line of script to line 1 instead of line 0

---

- [ ] `./mach build -d` fails, but it fails on master on my system too due to some sort of problem with cygwin
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12996

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13005)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-08-23 23:04:31 -05:00 committed by GitHub
commit a20d710261

View file

@ -946,7 +946,7 @@ impl<'a, T: Reflectable> ScriptHelpers for &'a T {
let filename = CString::new(filename).unwrap();
let _ac = JSAutoCompartment::new(cx, globalhandle.get());
let options = CompileOptionsWrapper::new(cx, filename.as_ptr(), 0);
let options = CompileOptionsWrapper::new(cx, filename.as_ptr(), 1);
unsafe {
if !Evaluate2(cx, options.ptr, code.as_ptr(),
code.len() as libc::size_t,