Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras
authorJoshua Cranmer <Pidgeot18@gmail.com>
Mon, 29 Aug 2011 17:02:22 -0700
changeset 76199 2642c7b0dc60937f33bb032da5f06516ee9c6d50
parent 76198 23962193053c143b22ca6cefd22e106d6e4cb48c
child 76200 31b79d4e90f45f9e8922098b109748029663db8b
child 76205 5f430b3d9aa4ac8c33a4123f3554a897d966a8ef
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewerstaras
bugs681634
milestone9.0a1
Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras
layout/generic/frame-verify.js
--- a/layout/generic/frame-verify.js
+++ b/layout/generic/frame-verify.js
@@ -55,25 +55,25 @@ let haveIDs = {};
 
 // We match up needIDs with haveIDs at the end because static variables are
 // not present in the .members array of a type
 
 function process_tree_decl(d)
 {
   d = dehydra_convert(d);
   
-  if (d.name && frameIIDRE(d.name)) {
+  if (d.name && frameIIDRE.exec(d.name)) {
     haveIDs[d.memberOf.name] = 1;
   }
 }
 
 function process_cp_pre_genericize(d)
 {
   d = dehydra_convert(d);
-  if (queryFrameRE(d.name) && d.template === undefined) {
+  if (queryFrameRE.exec(d.name) && d.template === undefined) {
     let templtype = d.type.type.type;
     while (templtype.typedef !== undefined)
       templtype = templtype.typedef;
       
     needIDs.push([templtype.name, d.loc]);
   }
 }