changeset:   4486:f9104f0e9b91b9f7ddc23c53ec8a98c625ad992b
user:        Aidan Kehoe <kehoea(a)parhasard.net>
date:        Sat Jul 26 11:46:13 2008 +0200
files:       man/ChangeLog man/lispref/objects.texi
description:
Document the error on over-long hex character constants.
2008-07-26  Aidan Kehoe  <kehoea(a)parhasard.net>
	* lispref/objects.texi (Character Type):
	Document the error provoked when the reader sees an over-long
	hexadecimal constant.
diff -r 57db42ba54fb4387126a494cd4c4e9d59ab85513 -r
f9104f0e9b91b9f7ddc23c53ec8a98c625ad992b man/ChangeLog
--- a/man/ChangeLog	Sat Jul 26 11:33:24 2008 +0200
+++ b/man/ChangeLog	Sat Jul 26 11:46:13 2008 +0200
@@ -1,3 +1,9 @@ 2008-07-26  Aidan Kehoe  <kehoea@parhasa
+2008-07-26  Aidan Kehoe  <kehoea(a)parhasard.net>
+
+	* lispref/objects.texi (Character Type):
+	Document the error provoked when the reader sees an over-long
+	hexadecimal constant.
+
 2008-07-26  Aidan Kehoe  <kehoea(a)parhasard.net>
 
 	* lispref/variables.texi (Extent): 
diff -r 57db42ba54fb4387126a494cd4c4e9d59ab85513 -r
f9104f0e9b91b9f7ddc23c53ec8a98c625ad992b man/lispref/objects.texi
--- a/man/lispref/objects.texi	Sat Jul 26 11:33:24 2008 +0200
+++ b/man/lispref/objects.texi	Sat Jul 26 11:46:13 2008 +0200
@@ -647,17 +647,16 @@ followed by a backslash and the characte
 followed by a backslash and the character code in octal (up to three
 octal digits); thus, @samp{?\101} for the character @kbd{A},
 @samp{?\001} for the character @kbd{C-a}, and @code{?\002} for the
-character @kbd{C-b}.
+character @kbd{C-b}.  The reader will finalize the character and start
+reading the next token when a non-octal-digit is encountered or three
+octal digits are read. 
 
   The second consists of a question mark followed by a backslash, the
 character @samp{x}, and the character code in hexadecimal (up to two
 hexadecimal digits); thus, @samp{?\x41} for the character @kbd{A},
 @samp{?\x1} for the character @kbd{C-a}, and @code{?\x2} for the
-character @kbd{C-b}.
-
-In both cases, the reader will finalize the character when a non-digit
-is encountered or the maximum length of a character code is reached.  It
-then starts reading the next token.
+character @kbd{C-b}.  If more than two hexadecimal codes are given, the
+reader signals an error.
 
 @example
 @group
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches