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
117360cb
Commit
117360cb
authored
Oct 04, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fbyte_code): Don't use XFASTINT as an lvalue.
parent
8d7a4592
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
src/bytecode.c
src/bytecode.c
+8
-7
No files found.
src/bytecode.c
View file @
117360cb
...
...
@@ -844,7 +844,7 @@ If the third argument is incorrect, Emacs may crash.")
break
;
case
Bpoint
:
XFASTINT
(
v1
)
=
point
;
X
SET
FASTINT
(
v1
,
point
)
;
PUSH
(
v1
);
break
;
...
...
@@ -863,12 +863,12 @@ If the third argument is incorrect, Emacs may crash.")
break
;
case
Bpoint_max
:
XFASTINT
(
v1
)
=
ZV
;
X
SET
FASTINT
(
v1
,
ZV
)
;
PUSH
(
v1
);
break
;
case
Bpoint_min
:
XFASTINT
(
v1
)
=
BEGV
;
X
SET
FASTINT
(
v1
,
BEGV
)
;
PUSH
(
v1
);
break
;
...
...
@@ -877,17 +877,17 @@ If the third argument is incorrect, Emacs may crash.")
break
;
case
Bfollowing_char
:
XFASTINT
(
v1
)
=
PT
==
ZV
?
0
:
FETCH_CHAR
(
point
);
X
SET
FASTINT
(
v1
,
PT
==
ZV
?
0
:
FETCH_CHAR
(
point
)
)
;
PUSH
(
v1
);
break
;
case
Bpreceding_char
:
XFASTINT
(
v1
)
=
point
<=
BEGV
?
0
:
FETCH_CHAR
(
point
-
1
);
X
SET
FASTINT
(
v1
,
point
<=
BEGV
?
0
:
FETCH_CHAR
(
point
-
1
)
)
;
PUSH
(
v1
);
break
;
case
Bcurrent_column
:
XFASTINT
(
v1
)
=
current_column
();
X
SET
FASTINT
(
v1
,
current_column
()
)
;
PUSH
(
v1
);
break
;
...
...
@@ -952,7 +952,8 @@ If the third argument is incorrect, Emacs may crash.")
case
Bchar_syntax
:
CHECK_NUMBER
(
TOP
,
0
);
XFASTINT
(
TOP
)
=
syntax_code_spec
[(
int
)
SYNTAX
(
0xFF
&
XINT
(
TOP
))];
XSETFASTINT
(
TOP
,
syntax_code_spec
[(
int
)
SYNTAX
(
0xFF
&
XINT
(
TOP
))]);
break
;
case
Bbuffer_substring
:
...
...
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