ICU-6125 Turn multiple consts into one enum.

X-SVN-Rev: 23361
This commit is contained in:
George Rhoten 2008-02-07 09:33:26 +00:00
parent 4149802897
commit 362ec45cca

View File

@ -1,7 +1,7 @@
//
// regexcmp.h
//
// Copyright (C) 2002-2007, International Business Machines Corporation and others.
// Copyright (C) 2002-2008, International Business Machines Corporation and others.
// All Rights Reserved.
//
// This file contains declarations for the class RegexCompile
@ -33,11 +33,6 @@ U_NAMESPACE_BEGIN
// class RegexCompile Contains the regular expression compiler.
//
//--------------------------------------------------------------------------------
static const int kStackSize = 100; // The size of the state stack for
// pattern parsing. Corresponds roughly
// to the depth of parentheses nesting
// that is allowed in the rules.
struct RegexTableEl;
class RegexPattern;
@ -45,6 +40,12 @@ class RegexPattern;
class RegexCompile : public UMemory {
public:
enum {
kStackSize = 100 // The size of the state stack for
}; // pattern parsing. Corresponds roughly
// to the depth of parentheses nesting
// that is allowed in the rules.
struct RegexPatternChar {
UChar32 fChar;
UBool fQuoted;