Make EPSILON_BIT a macro to help debugging. Its value isn't important.
authordrepper <drepper>
Sun, 23 Nov 2003 09:45:06 +0000 (09:45 +0000)
committerdrepper <drepper>
Sun, 23 Nov 2003 09:45:06 +0000 (09:45 +0000)
posix/regex_internal.h

index 0230b5d..5111f6d 100644 (file)
@@ -178,7 +178,9 @@ typedef enum
   OP_UTF8_PERIOD = 7,
 #endif /* RE_ENABLE_I18N */
 
-  EPSILON_BIT = 8,
+  /* We define EPSILON_BIT as a macro so that OP_OPEN_SUBEXP is used
+     when the debugger shows values of this enum type.  */
+#define EPSILON_BIT 8
   OP_OPEN_SUBEXP = EPSILON_BIT | 0,
   OP_CLOSE_SUBEXP = EPSILON_BIT | 1,
   OP_ALT = EPSILON_BIT | 2,