Mercurial > hg > octave-lojdl > gnulib-hg
diff regex.c @ 680:d794d4ea2333
(re_match_2_internal) [emacs]: Use PT, not point.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sun, 01 Sep 1996 19:02:26 +0000 |
parents | b088267ea1c8 |
children | 1036844e8833 |
line wrap: on
line diff
--- a/regex.c +++ b/regex.c @@ -4763,19 +4763,19 @@ #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;