assemble: Add case3 helper
authorCyrill Gorcunov <gorcunov@gmail.com>
Sat, 1 Dec 2012 22:47:16 +0000 (02:47 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Fri, 1 Mar 2013 22:46:17 +0000 (02:46 +0400)
Signed-off-by: cyrill <cyrill@cyrills-MacBook-Pro.local>
assemble.c

index f025360..0f3a338 100644 (file)
@@ -806,7 +806,8 @@ static void bad_hle_warn(const insn * ins, uint8_t hleok)
 }
 
 /* Common construct */
-#define case4(x) case (x): case (x)+1: case (x)+2: case (x)+3
+#define case3(x) case (x): case (x)+1: case (x)+2
+#define case4(x) case3(x): case (x)+3
 
 static int64_t calcsize(int32_t segment, int64_t offset, int bits,
                         insn * ins, const struct itemplate *temp)