]> git.eshelyaron.com Git - emacs.git/commitdiff
(re_match_2_internal) [emacs]: Use PT, not point.
authorKarl Heuer <kwzh@gnu.org>
Sun, 1 Sep 1996 19:02:26 +0000 (19:02 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sun, 1 Sep 1996 19:02:26 +0000 (19:02 +0000)
src/regex.c

index 20ea8aebdda8fda11008b6966a07cc22504e3162..9d8d2d489fd14134e07f5a9e1439045a9abf7339 100644 (file)
@@ -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;