Tiger build fix.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Dec 2007 13:38:36 +0000 (13:38 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Dec 2007 13:38:36 +0000 (13:38 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28581 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/grammar.y

index 61cd9d2..0471a32 100644 (file)
@@ -1,3 +1,9 @@
+2007-12-10  Mark Rowe  <mrowe@apple.com>
+
+        Tiger build fix.
+
+        * kjs/grammar.y: Use @1 and @0 in place of @$ where Tiger's bison chokes.
+
 2007-12-10  Darin Adler  <darin@apple.com>
 
         Reviewed by Mark Rowe.
index ec8785d..89fba9b 100644 (file)
@@ -879,8 +879,8 @@ FunctionBody:
 ;
 
 Program:
-    /* not in spec */                   { parser().didFinishParsing(new SourceElements, @$.last_line); }
-    | SourceElements                    { parser().didFinishParsing($1->release(), @$.last_line); }
+    /* not in spec */                   { parser().didFinishParsing(new SourceElements, @0.last_line); }
+    | SourceElements                    { parser().didFinishParsing($1->release(), @1.last_line); }
 ;
 
 SourceElements: