Bug 397773 - mozilla-central has pedantic errors because of extra commas, r=mrbkap+brendan a=brendan
authorbenjamin@smedbergs.us
Fri, 05 Oct 2007 06:58:51 -0700
changeset 6663 7ed721fe25219e54030dc0bb806c9d4cbf3043b6
parent 6662 6d474f7c20fe8d8c351f3685c805b81234cc5b0a
child 6664 199b6f951c04e6dfdff456be9baaa45cb2ae1e31
push idunknown
push userunknown
push dateunknown
reviewersmrbkap, brendan
bugs397773
milestone1.9a9pre
Bug 397773 - mozilla-central has pedantic errors because of extra commas, r=mrbkap+brendan a=brendan
js/src/jsregexp.c
js/src/jsreops.tbl
--- a/js/src/jsregexp.c
+++ b/js/src/jsregexp.c
@@ -63,16 +63,17 @@
 #include "jsregexp.h"
 #include "jsscan.h"
 #include "jsstr.h"
 
 typedef enum REOp {
 #define REOP_DEF(opcode, name) opcode,
 #include "jsreops.tbl"
 #undef REOP_DEF
+    REOP_LIMIT /* META: no operator >= to this */
 } REOp;
 
 #define REOP_IS_SIMPLE(op)  ((op) <= REOP_NCLASS)
 
 #ifdef REGEXP_DEBUG
 const char *reop_names[] = {
 #define REOP_DEF(opcode, name) name,
 #include "jsreops.tbl"
--- a/js/src/jsreops.tbl
+++ b/js/src/jsreops.tbl
@@ -138,10 +138,8 @@ REOP_DEF(REOP_ALTPREREQ,     "altprereq"
 /* prerequisite for ALT, a char or a class */
 REOP_DEF(REOP_ALTPREREQ2,    "altprereq2")
 /* end of final alternate */
 REOP_DEF(REOP_ENDALT,        "endalt")
 /* concatenation of terms (parse time only) */
 REOP_DEF(REOP_CONCAT,        "concat")
 /* end of expression */
 REOP_DEF(REOP_END,           "end")
-/* META: no operator >= to this */
-REOP_DEF(REOP_LIMIT,"limit")