diff options
| author | Miles Bader | 2006-01-25 07:10:04 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-01-25 07:10:04 +0000 |
| commit | b2ba4dcba149f845bf7fcf15b6cede6a6cbcc336 (patch) | |
| tree | d9ca500b0501201584dbab3b74a83d1ba7e374c9 /src/regex.c | |
| parent | 90fc2bc59774318b3db7c3642df00a1297f6b7ff (diff) | |
| parent | 7347faa822b5ea177df5b2ed7a2b7d79194f0bcc (diff) | |
| download | emacs-b2ba4dcba149f845bf7fcf15b6cede6a6cbcc336.tar.gz emacs-b2ba4dcba149f845bf7fcf15b6cede6a6cbcc336.zip | |
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-7
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 4-14)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (base, patch 1-7)
- tag of miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-187
- Update from CVS
- Merge from emacs--devo--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10 (patch 187)
- Update from CVS
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/regex.c b/src/regex.c index 412fd1d524d..3548ad3c048 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | internationalization features.) | 3 | internationalization features.) |
| 4 | 4 | ||
| 5 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | 5 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 6 | 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 6 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 7 | 7 | ||
| 8 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| @@ -1899,8 +1899,9 @@ typedef struct | |||
| 1899 | /* The next available element. */ | 1899 | /* The next available element. */ |
| 1900 | #define COMPILE_STACK_TOP (compile_stack.stack[compile_stack.avail]) | 1900 | #define COMPILE_STACK_TOP (compile_stack.stack[compile_stack.avail]) |
| 1901 | 1901 | ||
| 1902 | /* Explicit quit checking is only used on NTemacs. */ | 1902 | /* Explicit quit checking is only used on NTemacs and whenever we |
| 1903 | #if defined WINDOWSNT && defined emacs && defined QUIT | 1903 | use polling to process input events. */ |
| 1904 | #if defined emacs && (defined WINDOWSNT || defined SYNC_INPUT) && defined QUIT | ||
| 1904 | extern int immediate_quit; | 1905 | extern int immediate_quit; |
| 1905 | # define IMMEDIATE_QUIT_CHECK \ | 1906 | # define IMMEDIATE_QUIT_CHECK \ |
| 1906 | do { \ | 1907 | do { \ |
| @@ -5770,7 +5771,6 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) | |||
| 5770 | the repetition text and either the following jump or | 5771 | the repetition text and either the following jump or |
| 5771 | pop_failure_jump back to this on_failure_jump. */ | 5772 | pop_failure_jump back to this on_failure_jump. */ |
| 5772 | case on_failure_jump: | 5773 | case on_failure_jump: |
| 5773 | IMMEDIATE_QUIT_CHECK; | ||
| 5774 | EXTRACT_NUMBER_AND_INCR (mcnt, p); | 5774 | EXTRACT_NUMBER_AND_INCR (mcnt, p); |
| 5775 | DEBUG_PRINT3 ("EXECUTING on_failure_jump %d (to %p):\n", | 5775 | DEBUG_PRINT3 ("EXECUTING on_failure_jump %d (to %p):\n", |
| 5776 | mcnt, p + mcnt); | 5776 | mcnt, p + mcnt); |
| @@ -5786,7 +5786,6 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) | |||
| 5786 | then we can use a non-backtracking loop based on | 5786 | then we can use a non-backtracking loop based on |
| 5787 | on_failure_keep_string_jump instead of on_failure_jump. */ | 5787 | on_failure_keep_string_jump instead of on_failure_jump. */ |
| 5788 | case on_failure_jump_smart: | 5788 | case on_failure_jump_smart: |
| 5789 | IMMEDIATE_QUIT_CHECK; | ||
| 5790 | EXTRACT_NUMBER_AND_INCR (mcnt, p); | 5789 | EXTRACT_NUMBER_AND_INCR (mcnt, p); |
| 5791 | DEBUG_PRINT3 ("EXECUTING on_failure_jump_smart %d (to %p).\n", | 5790 | DEBUG_PRINT3 ("EXECUTING on_failure_jump_smart %d (to %p).\n", |
| 5792 | mcnt, p + mcnt); | 5791 | mcnt, p + mcnt); |