2007-10-29 Mark Rowe <mrowe@apple.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2007 08:31:46 +0000 (08:31 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2007 08:31:46 +0000 (08:31 +0000)
        Gtk build fix.  Move struct declarations into nodes.h.

        * kjs/grammar.y:
        * kjs/nodes.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27219 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/grammar.y
JavaScriptCore/kjs/nodes.h

index b44c7d871b856699fc685b25d7d18ae41355c1e9..5d40c975bba71a380b36011452fe77a05a299cb1 100644 (file)
@@ -1,3 +1,10 @@
+2007-10-29  Mark Rowe  <mrowe@apple.com>
+
+        Gtk build fix.  Move struct declarations into nodes.h.
+
+        * kjs/grammar.y:
+        * kjs/nodes.h:
+
 2007-10-29  Eric Seidel  <eric@webkit.org>
 
         Reviewed by darin.
index 06cc3f8c695195155ad3e33dbb54d46f6281c5ad..279df7a28049984f643c50d91f2e828be86ff5f3 100644 (file)
@@ -80,41 +80,6 @@ static Node* makeNumberNode(double);
 
 #endif
 
-struct ElementList {
-    ElementNode* head;
-    ElementNode* tail;
-};
-
-struct PropertyList {
-    PropertyListNode* head;
-    PropertyListNode* tail;
-};
-
-struct ArgumentList {
-    ArgumentListNode* head;
-    ArgumentListNode* tail;
-};
-
-struct VarDeclList {
-    VarDeclListNode* head;
-    VarDeclListNode* tail;
-};
-
-struct ParameterList {
-    ParameterNode* head;
-    ParameterNode* tail;
-};
-
-struct SourceElementList {
-    SourceElementsNode* head;
-    SourceElementsNode* tail;
-};
-
-struct ClauseList {
-    ClauseListNode* head;
-    ClauseListNode* tail;
-};
-
 %}
 
 %union {
index 53053095bf7b7dacec1cc6a7895fd53dfc9048ef..cb360777aa4bcc92f0b515663d3b7185e4bd4514 100644 (file)
@@ -1670,6 +1670,41 @@ namespace KJS {
     ProgramNode(SourceElementsNode* s) KJS_FAST_CALL;
   };
 
+  struct ElementList {
+      ElementNode* head;
+      ElementNode* tail;
+  };
+
+  struct PropertyList {
+      PropertyListNode* head;
+      PropertyListNode* tail;
+  };
+
+  struct ArgumentList {
+      ArgumentListNode* head;
+      ArgumentListNode* tail;
+  };
+
+  struct VarDeclList {
+      VarDeclListNode* head;
+      VarDeclListNode* tail;
+  };
+
+  struct ParameterList {
+      ParameterNode* head;
+      ParameterNode* tail;
+  };
+
+  struct SourceElementList {
+      SourceElementsNode* head;
+      SourceElementsNode* tail;
+  };
+
+  struct ClauseList {
+      ClauseListNode* head;
+      ClauseListNode* tail;
+  };
+
 } // namespace
 
 #endif