]> granicus.if.org Git - onig/commitdiff
move member position for reduce Operation size
authorK.Kosako <kkosako0@gmail.com>
Tue, 19 Feb 2019 08:40:28 +0000 (17:40 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Thu, 28 Feb 2019 05:28:18 +0000 (14:28 +0900)
src/regint.h

index 63214cfdf670d19157f1da388e5887ba11e16217..ba57ac6f084a884ab6aba3e27eb0bf0638cca32e 100644 (file)
@@ -837,11 +837,11 @@ typedef struct {
       ModeType mode;
     } word_boundary; /* OP_WORD_BOUNDARY, OP_NO_WORD_BOUNDARY, OP_WORD_BEGIN, OP_WORD_END */
     struct {
-      int num;
       union {
         MemNumType  n1; /* num == 1 */
         MemNumType* ns; /* num >  1 */
       };
+      int num;
       int nest_level;
     } backref_general; /* BACKREF_MULTI, BACKREF_MULTI_IC, BACKREF_WITH_LEVEL, BACKREF_CHECK, BACKREF_CHECK_WITH_LEVEL, */
     struct {