Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c235cce7
Commit
c235cce7
authored
Oct 04, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(skip_chars, Fmatch_data, Fstore_match_data): Don't use XFASTINT as an lvalue.
parent
22719df2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/search.c
src/search.c
+6
-6
No files found.
src/search.c
View file @
c235cce7
...
...
@@ -434,9 +434,9 @@ skip_chars (forwardp, syntaxp, string, lim)
bfox turned the ZV part on, and rms turned the
BEGV part back on. */
if
(
XINT
(
lim
)
>
ZV
)
XFASTINT
(
lim
)
=
ZV
;
X
SET
FASTINT
(
lim
,
ZV
)
;
if
(
XINT
(
lim
)
<
BEGV
)
XFASTINT
(
lim
)
=
BEGV
;
X
SET
FASTINT
(
lim
,
BEGV
)
;
p
=
XSTRING
(
string
)
->
data
;
pend
=
p
+
XSTRING
(
string
)
->
size
;
...
...
@@ -1501,8 +1501,8 @@ Use `store-match-data' to reinstate the data in this list.")
{
if
(
EQ
(
last_thing_searched
,
Qt
))
{
XFASTINT
(
data
[
2
*
i
]
)
=
start
;
XFASTINT
(
data
[
2
*
i
+
1
]
)
=
search_regs
.
end
[
i
];
X
SET
FASTINT
(
data
[
2
*
i
]
,
start
)
;
X
SET
FASTINT
(
data
[
2
*
i
+
1
]
,
search_regs
.
end
[
i
]
)
;
}
else
if
(
BUFFERP
(
last_thing_searched
))
{
...
...
@@ -1587,7 +1587,7 @@ LIST should have been created by calling `match-data' previously.")
if
(
MARKERP
(
marker
))
{
if
(
XMARKER
(
marker
)
->
buffer
==
0
)
XFASTINT
(
marker
)
=
0
;
X
SET
FASTINT
(
marker
,
0
)
;
else
XSETBUFFER
(
last_thing_searched
,
XMARKER
(
marker
)
->
buffer
);
}
...
...
@@ -1598,7 +1598,7 @@ LIST should have been created by calling `match-data' previously.")
marker
=
Fcar
(
list
);
if
(
MARKERP
(
marker
)
&&
XMARKER
(
marker
)
->
buffer
==
0
)
XFASTINT
(
marker
)
=
0
;
X
SET
FASTINT
(
marker
,
0
)
;
CHECK_NUMBER_COERCE_MARKER
(
marker
,
0
);
search_regs
.
end
[
i
]
=
XINT
(
marker
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment