Follow-up for bug 695752. Fix "error: extra ';'" and "warning: empty macro arguments are undefined in ISO C90 and ISO C++98" (this broke maemo). r=red.
authorJason Orendorff <jorendorff@mozilla.com>
Wed, 19 Oct 2011 18:36:19 -0500
changeset 79639 68dc332516426779a00b6d47f183646b83b0eba3
parent 79638 56ec5e954858b976485d9f4de4a070708470c364
child 79640 2d649d1cc360cd4308c903a3adaf90ac70cf87b2
push id506
push userclegnitto@mozilla.com
push dateWed, 09 Nov 2011 02:03:18 +0000
treeherdermozilla-aurora@63587fc7bb93 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersred
bugs695752
milestone10.0a1
Follow-up for bug 695752. Fix "error: extra ';'" and "warning: empty macro arguments are undefined in ISO C90 and ISO C++98" (this broke maemo). r=red.
js/src/frontend/Parser.h
--- a/js/src/frontend/Parser.h
+++ b/js/src/frontend/Parser.h
@@ -186,17 +186,17 @@ struct Parser : private AutoGCRooter
         return allocator.allocNode();
     }
 
   public:
     ParseNode *freeTree(ParseNode *pn) { return allocator.freeTree(pn); }
     void prepareNodeForMutation(ParseNode *pn) { return allocator.prepareNodeForMutation(pn); }
 
     /* new_ methods for creating parse nodes. These report OOM on context. */
-    JS_DECLARE_NEW_METHODS(allocParseNode,);
+    JS_DECLARE_NEW_METHODS(allocParseNode, inline)
 
   private:
     /*
      * JS parsers, from lowest to highest precedence.
      *
      * Each parser must be called during the dynamic scope of a TreeContext
      * object, pointed to by this->tc.
      *