aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorKarl Heuer1994-10-04 15:38:56 +0000
committerKarl Heuer1994-10-04 15:38:56 +0000
commit117360cb36528476f9d9d226d0dc5a8bed1747d2 (patch)
tree48b83194f9e446edcc1170ab8c4e1d1bc0bba1d9 /src/bytecode.c
parent8d7a4592e2c7eb9c9719a7bfc45d7e499262ca33 (diff)
downloademacs-117360cb36528476f9d9d226d0dc5a8bed1747d2.tar.gz
emacs-117360cb36528476f9d9d226d0dc5a8bed1747d2.zip
(Fbyte_code): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 86b2cbfbd59..a6230a6142a 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -844,7 +844,7 @@ If the third argument is incorrect, Emacs may crash.")
844 break; 844 break;
845 845
846 case Bpoint: 846 case Bpoint:
847 XFASTINT (v1) = point; 847 XSETFASTINT (v1, point);
848 PUSH (v1); 848 PUSH (v1);
849 break; 849 break;
850 850
@@ -863,12 +863,12 @@ If the third argument is incorrect, Emacs may crash.")
863 break; 863 break;
864 864
865 case Bpoint_max: 865 case Bpoint_max:
866 XFASTINT (v1) = ZV; 866 XSETFASTINT (v1, ZV);
867 PUSH (v1); 867 PUSH (v1);
868 break; 868 break;
869 869
870 case Bpoint_min: 870 case Bpoint_min:
871 XFASTINT (v1) = BEGV; 871 XSETFASTINT (v1, BEGV);
872 PUSH (v1); 872 PUSH (v1);
873 break; 873 break;
874 874
@@ -877,17 +877,17 @@ If the third argument is incorrect, Emacs may crash.")
877 break; 877 break;
878 878
879 case Bfollowing_char: 879 case Bfollowing_char:
880 XFASTINT (v1) = PT == ZV ? 0 : FETCH_CHAR (point); 880 XSETFASTINT (v1, PT == ZV ? 0 : FETCH_CHAR (point));
881 PUSH (v1); 881 PUSH (v1);
882 break; 882 break;
883 883
884 case Bpreceding_char: 884 case Bpreceding_char:
885 XFASTINT (v1) = point <= BEGV ? 0 : FETCH_CHAR (point - 1); 885 XSETFASTINT (v1, point <= BEGV ? 0 : FETCH_CHAR (point - 1));
886 PUSH (v1); 886 PUSH (v1);
887 break; 887 break;
888 888
889 case Bcurrent_column: 889 case Bcurrent_column:
890 XFASTINT (v1) = current_column (); 890 XSETFASTINT (v1, current_column ());
891 PUSH (v1); 891 PUSH (v1);
892 break; 892 break;
893 893
@@ -952,7 +952,8 @@ If the third argument is incorrect, Emacs may crash.")
952 952
953 case Bchar_syntax: 953 case Bchar_syntax:
954 CHECK_NUMBER (TOP, 0); 954 CHECK_NUMBER (TOP, 0);
955 XFASTINT (TOP) = syntax_code_spec[(int) SYNTAX (0xFF & XINT (TOP))]; 955 XSETFASTINT (TOP,
956 syntax_code_spec[(int) SYNTAX (0xFF & XINT (TOP))]);
956 break; 957 break;
957 958
958 case Bbuffer_substring: 959 case Bbuffer_substring: