projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce56b1
)
(re_compile_fastmap): Treat `succeed' like end of pattern.
author
Karl Heuer
<kwzh@gnu.org>
Fri, 18 Nov 1994 01:04:41 +0000
(
01:04
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Fri, 18 Nov 1994 01:04:41 +0000
(
01:04
+0000)
regex.c
patch
|
blob
|
history
diff --git
a/regex.c
b/regex.c
index bce02247d0524376c635e792fa27b79dd7e8cbba..0adb68c7c9f4a8525fa4f53403860ff3ffe389b5 100644
(file)
--- a/
regex.c
+++ b/
regex.c
@@
-2784,7
+2784,7
@@
re_compile_fastmap (bufp)
while (p != pend || !FAIL_STACK_EMPTY ())
{
- if (p == pend)
+ if (p == pend
|| *p == succeed
)
{
bufp->can_be_null |= path_can_be_null;