changeset 4876:437323273039

Cosmetic: Use Qunbound, not Qnil as second arg to call to syntax_error() to get cleaner error message -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-01-15 Ben Wing <ben@xemacs.org> * doprnt.c (emacs_doprnt_1): Cosmetic: Use Qunbound, not Qnil as second arg to call to syntax_error() to get cleaner error message.
author Ben Wing <ben@xemacs.org>
date Fri, 15 Jan 2010 06:44:05 -0600
parents 49de55c09f18
children 1a9c94ba117c
files src/ChangeLog src/doprnt.c
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jan 15 05:42:21 2010 -0600
+++ b/src/ChangeLog	Fri Jan 15 06:44:05 2010 -0600
@@ -1,3 +1,9 @@
+2010-01-15  Ben Wing  <ben@xemacs.org>
+
+	* doprnt.c (emacs_doprnt_1):
+	Cosmetic: Use Qunbound, not Qnil as second arg to call to
+	syntax_error() to get cleaner error message.
+	
 2010-01-15  Ben Wing  <ben@xemacs.org>
 
 	* intl-encap-win32.c:
--- a/src/doprnt.c	Fri Jan 15 05:42:21 2010 -0600
+++ b/src/doprnt.c	Fri Jan 15 06:44:05 2010 -0600
@@ -602,7 +602,7 @@
 		  sprintf (msg,
 			   "format specifier %%%c doesn't match argument type",
 			   ch);
-		  syntax_error (msg, Qnil);
+		  syntax_error (msg, Qunbound);
 		}
 	      else if (strchr (double_converters, ch))
 		{
@@ -725,7 +725,7 @@
 		  CIbyte msg[60];
 		  sprintf (msg, "invalid character value %d to %%c spec",
 			   a);
-		  syntax_error (msg, Qnil);
+		  syntax_error (msg, Qunbound);
 		}
 
 	      charlen = set_itext_ichar (charbuf, a);