[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103605: * src/search.c (compile_patt
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103605: * src/search.c (compile_pattern_1): Remove unused argument. |
Date: |
Wed, 09 Mar 2011 17:18:51 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 103605
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Wed 2011-03-09 17:18:51 +0100
message:
* src/search.c (compile_pattern_1): Remove unused argument.
(compile_pattern): Don't pass it.
modified:
src/ChangeLog
src/search.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-03-08 08:34:55 +0000
+++ b/src/ChangeLog 2011-03-09 16:18:51 +0000
@@ -1,3 +1,9 @@
+2011-03-09 Juanma Barranquero <address@hidden>
+
+ * search.c (compile_pattern_1): Remove argument regp, unused since
+ revid:address@hidden
+ (compile_pattern): Don't pass it.
+
2011-03-08 Jan Djärv <address@hidden>
* xterm.h (DEFAULT_GDK_DISPLAY): New define.
@@ -62,7 +68,7 @@
text field. After disabling it, set focus on the list control.
(Fx_file_dialog): If only_dir_p is non-nil, set the text of the File
Name text field to "Current Directory" if it does not already have
- another value. (Bug#8181)
+ another value. (Bug#8181)
2011-03-07 Adrian Robert <address@hidden>
@@ -123,7 +129,7 @@
* xdisp.c (BUILD_GLYPHLESS_GLYPH_STRING): Omit unused local var.
(produce_glyphless_glyph): Make a pointer "const"
since it might point to immutable storage.
- (update_window_cursor): Now static, since it's not used elsewhere.
+ (update_window_cursor): Now static, since it's not used elsewhere.
(SKIP_GLYPHS): Removed unused macro.
2011-03-06 Michael Shields <address@hidden> (tiny change)
=== modified file 'src/search.c'
--- a/src/search.c 2011-02-16 15:02:50 +0000
+++ b/src/search.c 2011-03-09 16:18:51 +0000
@@ -114,17 +114,13 @@
PATTERN is the pattern to compile.
CP is the place to put the result.
TRANSLATE is a translation table for ignoring case, or nil for none.
- REGP is the structure that says where to store the "register"
- values that will result from matching this pattern.
- If it is 0, we should compile the pattern not to record any
- subexpression bounds.
POSIX is nonzero if we want full backtracking (POSIX style)
for this pattern. 0 means backtrack only enough to get a valid match.
The behavior also depends on Vsearch_spaces_regexp. */
static void
-compile_pattern_1 (struct regexp_cache *cp, Lisp_Object pattern, Lisp_Object
translate, struct re_registers *regp, int posix)
+compile_pattern_1 (struct regexp_cache *cp, Lisp_Object pattern, Lisp_Object
translate, int posix)
{
char *val;
reg_syntax_t old;
@@ -247,7 +243,7 @@
if (cp->next == 0)
{
compile_it:
- compile_pattern_1 (cp, pattern, translate, regp, posix);
+ compile_pattern_1 (cp, pattern, translate, posix);
break;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103605: * src/search.c (compile_pattern_1): Remove unused argument.,
Juanma Barranquero <=