annotate info/.arch-inventory @ 105885:8103235103a7

Let integers use up 2 tags to give them one extra bit and double their range. * lisp.h (USE_2_TAGS_FOR_INTS): New macro. (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P): New macros. (enum Lisp_Type): Use them. Give explicit values. (Lisp_Type_Limit): Remove. (XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]: (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK): Pay attention to USE_2_TAGS_FOR_INTS. (INTEGERP): Use LISP_INT_TAG_P. * fns.c (internal_equal): Simplify the default case. (sxhash): Use case_Lisp_Int. * data.c (wrong_type_argument): Don't check against Lisp_Type_Limit any more. (Ftype_of): Use case_Lisp_Int. (store_symval_forwarding): Take into account the fact that Ints can now have more than one tag. * buffer.c (syms_of_buffer): Use LISP_INT_TAG. buffer_slot_type_mismatch): * xfaces.c (face_attr_equal_p): * print.c (print_object): * alloc.c (mark_maybe_object, mark_object, survives_gc_p): Use case_Lisp_Int.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 06 Nov 2009 18:47:48 +0000
parents a33e80b6ae49
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60841
a33e80b6ae49 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 60357
diff changeset
1 # There are only three real source files in this directory:
a33e80b6ae49 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 60357
diff changeset
2 #
a33e80b6ae49 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 60357
diff changeset
3 # "dir", ".cvsignore", and this file, ".arch-inventory"
60357
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
4
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
5 # Everything else is generated at compile time. Unfortunately, the "backup"
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
6 # category overrides the "source" category, so we have to have horrible
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
7 # regexp that matches everything _except_ "dir"...
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
8
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
9 # 1 or 2 characters long
60841
a33e80b6ae49 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 60357
diff changeset
10 backup ^[a-zA-Z0-9][-_.a-zA-Z0-9]?$
60357
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
11 # 4 or more characters long
60841
a33e80b6ae49 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 60357
diff changeset
12 backup ^[a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9]+$
60357
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
13 # 3 chars long, but 1st char not "d"
60841
a33e80b6ae49 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 60357
diff changeset
14 backup ^[abce-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9]$
60357
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
15 # 3 chars long, but 2nd char not "i"
60841
a33e80b6ae49 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 60357
diff changeset
16 backup ^[a-zA-Z0-9][-_.a-hj-zA-Z0-9][-_.a-zA-Z0-9]$
60357
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
17 # 3 chars long, but 3rd char not "r"
60841
a33e80b6ae49 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 60357
diff changeset
18 backup ^[a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-qs-zA-Z0-9]$
60357
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
19
7cb1d5f71446 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff changeset
20 # arch-tag: 60144ab9-cdc1-45b6-8193-b9683c80ec86