aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1996-09-01 19:02:26 +0000
committerKarl Heuer1996-09-01 19:02:26 +0000
commitae93ce928abee6da4b30e79ca67f968f8b3335e5 (patch)
tree3bafb93d11bfa91d104daed37004d6f2d007b573 /src
parenta633d9afc2ba1e7a67b9403d7e1211039dc8789d (diff)
downloademacs-ae93ce928abee6da4b30e79ca67f968f8b3335e5.tar.gz
emacs-ae93ce928abee6da4b30e79ca67f968f8b3335e5.zip
(re_match_2_internal) [emacs]: Use PT, not point.
Diffstat (limited to 'src')
-rw-r--r--src/regex.c6
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)
4763#ifdef emacs 4763#ifdef emacs
4764 case before_dot: 4764 case before_dot:
4765 DEBUG_PRINT1 ("EXECUTING before_dot.\n"); 4765 DEBUG_PRINT1 ("EXECUTING before_dot.\n");
4766 if (PTR_CHAR_POS ((unsigned char *) d) >= point) 4766 if (PTR_CHAR_POS ((unsigned char *) d) >= PT)
4767 goto fail; 4767 goto fail;
4768 break; 4768 break;
4769 4769
4770 case at_dot: 4770 case at_dot:
4771 DEBUG_PRINT1 ("EXECUTING at_dot.\n"); 4771 DEBUG_PRINT1 ("EXECUTING at_dot.\n");
4772 if (PTR_CHAR_POS ((unsigned char *) d) != point) 4772 if (PTR_CHAR_POS ((unsigned char *) d) != PT)
4773 goto fail; 4773 goto fail;
4774 break; 4774 break;
4775 4775
4776 case after_dot: 4776 case after_dot:
4777 DEBUG_PRINT1 ("EXECUTING after_dot.\n"); 4777 DEBUG_PRINT1 ("EXECUTING after_dot.\n");
4778 if (PTR_CHAR_POS ((unsigned char *) d) <= point) 4778 if (PTR_CHAR_POS ((unsigned char *) d) <= PT)
4779 goto fail; 4779 goto fail;
4780 break; 4780 break;
4781 4781