bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15190: 24.3; Reader error when combining print-circle and hash table


From: Stefan Monnier
Subject: bug#15190: 24.3; Reader error when combining print-circle and hash tables
Date: Mon, 26 Aug 2013 16:34:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I'm running into an issue in Emacs 24.3 where the lisp reader fails to
> parse hash tables printed with print-circle set to t.

Indeed, there was an oversight.  It should be fixed on the trunk now,


        Stefan


=== modified file 'src/lread.c'
--- src/lread.c 2013-07-20 14:21:25 +0000
+++ src/lread.c 2013-08-26 20:24:36 +0000
@@ -3229,7 +3229,7 @@
        if (BOOL_VECTOR_P (subtree))
          return subtree;               /* No sub-objects anyway.  */
        else if (CHAR_TABLE_P (subtree) || SUB_CHAR_TABLE_P (subtree)
-                || COMPILEDP (subtree))
+                || COMPILEDP (subtree) || HASH_TABLE_P (subtree))
          length = ASIZE (subtree) & PSEUDOVECTOR_SIZE_MASK;
        else if (VECTORP (subtree))
          length = ASIZE (subtree);






reply via email to

[Prev in Thread] Current Thread [Next in Thread]