changeset 9297:5151ce5ab25a

(Fbyte_code): Don't use XFASTINT as an lvalue.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 15:38:56 +0000
parents a1a7fc21ded9
children 6e3aea54fc01
files src/bytecode.c
diffstat 1 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/bytecode.c	Tue Oct 04 15:36:45 1994 +0000
+++ b/src/bytecode.c	Tue Oct 04 15:38:56 1994 +0000
@@ -844,7 +844,7 @@
 	  break;
 
 	case Bpoint:
-	  XFASTINT (v1) = point;
+	  XSETFASTINT (v1, point);
 	  PUSH (v1);
 	  break;
 
@@ -863,12 +863,12 @@
 	  break;
 
 	case Bpoint_max:
-	  XFASTINT (v1) = ZV;
+	  XSETFASTINT (v1, ZV);
 	  PUSH (v1);
 	  break;
 
 	case Bpoint_min:
-	  XFASTINT (v1) = BEGV;
+	  XSETFASTINT (v1, BEGV);
 	  PUSH (v1);
 	  break;
 
@@ -877,17 +877,17 @@
 	  break;
 
 	case Bfollowing_char:
-	  XFASTINT (v1) = PT == ZV ? 0 : FETCH_CHAR (point);
+	  XSETFASTINT (v1, PT == ZV ? 0 : FETCH_CHAR (point));
 	  PUSH (v1);
 	  break;
 
 	case Bpreceding_char:
-	  XFASTINT (v1) = point <= BEGV ? 0 : FETCH_CHAR (point - 1);
+	  XSETFASTINT (v1, point <= BEGV ? 0 : FETCH_CHAR (point - 1));
 	  PUSH (v1);
 	  break;
 
 	case Bcurrent_column:
-	  XFASTINT (v1) = current_column ();
+	  XSETFASTINT (v1, current_column ());
 	  PUSH (v1);
 	  break;
 
@@ -952,7 +952,8 @@
 
 	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: