aboutsummaryrefslogtreecommitdiff
path: root/gdb/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/regex.c')
-rw-r--r--gdb/regex.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/regex.c b/gdb/regex.c
index 3f30284..fc31eba 100644
--- a/gdb/regex.c
+++ b/gdb/regex.c
@@ -876,6 +876,11 @@ re_compile_fastmap (bufp)
fastmap[j] = 1;
}
break;
+ case unused:
+ case syntaxspec:
+ case notsyntaxspec:
+ default:
+ break;
}
/* Get here means we have successfully found the possible starting characters
@@ -1529,6 +1534,14 @@ re_match_2 (pbufp, string1, size1, string2, size2, pos, regs, mstop)
while (--mcnt);
}
break;
+ case unused:
+ case before_dot:
+ case at_dot:
+ case after_dot:
+ case syntaxspec:
+ case notsyntaxspec:
+ default:
+ break;
}
continue; /* Successfully matched one pattern command; keep matching */