* src/gpattern.c (compile_pattern): From Unity, use -1 in the enum
for MatchType.
svn path=/trunk/mono/; revision=115506
2008-10-11 Miguel de Icaza <miguel@novell.com>
+ * src/gpattern.c (compile_pattern): From Unity, use -1 in the enum
+ for MatchType.
+
* src/gpath.c: Split this one as well.
* src/gmodule-win32.c, src/gmisc-unix.c, src/gmisc-win32.c,
MATCH_LITERAL,
MATCH_ANYCHAR,
MATCH_ANYTHING,
- MATCH_ANYTHING_END
+ MATCH_ANYTHING_END,
+ MATCH_INVALID = -1
} MatchType;
typedef struct {
size_t i, len;
PData *data;
gchar c;
- MatchType last = -1;
+ MatchType last = MATCH_INVALID;
GString *str;
gboolean free_str;