summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-02-22 08:04:16 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2020-02-22 08:05:59 -0800
commit202c3319a28c029d6971dccea92f92425c5e8067 (patch)
tree2b3b4bf92b03a96029a4c74a2935a33f5d14a13b /src/lisp.h
parent929c9d33021a61be4c1a45d343689c303a15e986 (diff)
downloademacs-202c3319a28c029d6971dccea92f92425c5e8067.tar.gz
Restore runtime check for invalid tag
* src/data.c (wrong_type_argument): Restore check that the object’s tag is valid, since invalid tags exist again. * src/lisp.h (Lisp_Type_Unused0): New constant.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 0bd375658e2..a379977d353 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -481,6 +481,7 @@ enum Lisp_Type
Lisp_Symbol = 0,
/* Type 1 is currently unused. */
+ Lisp_Type_Unused0 = 1,
/* Fixnum. XFIXNUM (obj) is the integer value. */
Lisp_Int0 = 2,