summaryrefslogtreecommitdiff
path: root/pcre_printint.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-23 19:26:03 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-23 19:26:03 +0000
commitc9ab244aa51003432756a96db6051ac5d99e09a4 (patch)
treefa3bc626e76e5d65c5751e2cd654a3b4cd289af0 /pcre_printint.c
parent6d006dba3ccf59347e2eec0b2d60f6d4a1254a33 (diff)
downloadpcre-c9ab244aa51003432756a96db6051ac5d99e09a4.tar.gz
fix local symbol issues in pcre_printint.c
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@905 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_printint.c')
-rw-r--r--pcre_printint.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pcre_printint.c b/pcre_printint.c
index 6e98286..f16c31e 100644
--- a/pcre_printint.c
+++ b/pcre_printint.c
@@ -55,6 +55,9 @@ asked to print out a compiled regex for debugging purposes. */
#include "config.h"
#endif
+/* For pcretest program. */
+#define PRIV(name) name
+
/* We have to include pcre_internal.h because we need the internal info for
displaying the results of pcre_study() and we also need to know about the
internal macros, structures, and other internal data values; pcretest has
@@ -100,7 +103,7 @@ static const char *OP_names[] = { OP_NAME_LIST };
but its size is needed for a check that ensures it is the correct size for the
number of opcodes (thus catching update omissions). */
-static const pcre_uint8 OP_lengths[] = { OP_LENGTHS };
+static const pcre_uint8 OP_lengths_size[] = { OP_LENGTHS };
@@ -298,7 +301,7 @@ for(;;)
case OP_TABLE_LENGTH:
case OP_TABLE_LENGTH +
((sizeof(OP_names)/sizeof(const char *) == OP_TABLE_LENGTH) &&
- (sizeof(OP_lengths) == OP_TABLE_LENGTH)):
+ (sizeof(OP_lengths_size) == OP_TABLE_LENGTH)):
break;
/* ========================================================================== */