diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-09-01 19:02:26 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-09-01 19:02:26 +0000 |
commit | 0e77d183dd52b251db0db41c0f4bebd0434fe834 (patch) | |
tree | cbe1a79b33da1836ff042a8741776f6c7f42217c /src/regex.c | |
parent | cedd565eb83edc585901f8dddae221d50764d61f (diff) | |
download | emacs-0e77d183dd52b251db0db41c0f4bebd0434fe834.tar.gz |
(re_match_2_internal) [emacs]: Use PT, not point.
Diffstat (limited to 'src/regex.c')
-rw-r--r-- | src/regex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regex.c b/src/regex.c index 20ea8aebdda..9d8d2d489fd 100644 --- a/src/regex.c +++ b/src/regex.c @@ -4763,19 +4763,19 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) #ifdef emacs case before_dot: DEBUG_PRINT1 ("EXECUTING before_dot.\n"); - if (PTR_CHAR_POS ((unsigned char *) d) >= point) + if (PTR_CHAR_POS ((unsigned char *) d) >= PT) goto fail; break; case at_dot: DEBUG_PRINT1 ("EXECUTING at_dot.\n"); - if (PTR_CHAR_POS ((unsigned char *) d) != point) + if (PTR_CHAR_POS ((unsigned char *) d) != PT) goto fail; break; case after_dot: DEBUG_PRINT1 ("EXECUTING after_dot.\n"); - if (PTR_CHAR_POS ((unsigned char *) d) <= point) + if (PTR_CHAR_POS ((unsigned char *) d) <= PT) goto fail; break; |