* kjs/testkjs.cpp: (main): Fix build breakage by adding URL and line number...
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Jun 2004 20:19:12 +0000 (20:19 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Jun 2004 20:19:12 +0000 (20:19 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6769 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/testkjs.cpp

index a5c0111f7e8fabc978235e1f3950417c236034ca..a26d2b7e31cf60c6d104dafdeff1a91fd8e8d25d 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Darin Adler  <darin@apple.com>
+
+        * kjs/testkjs.cpp: (main): Fix build breakage by adding URL and line number parameters.
+
 2004-06-04  Kevin Decker  <kdecker@apple.com>
 
         Reviewed by Dave.
index 8ce0039fb27988e4b1dd8956e27c27cf98eba1eb..55faa1394cde64bfc100152c040ffef8804ecb1b 100644 (file)
@@ -103,7 +103,7 @@ int main(int argc, char **argv)
         fprintf(stderr, "Warning: File may have been too long.\n");
 
       // run
-      Completion comp(interp.evaluate(code));
+      Completion comp(interp.evaluate(file, 1, code));
 
       fclose(f);