Allow user-specified `r_xx' bases to be up to 62.
authormdw <mdw>
Wed, 9 Oct 2002 00:21:06 +0000 (00:21 +0000)
committermdw <mdw>
Wed, 9 Oct 2002 00:21:06 +0000 (00:21 +0000)
mptext.c

index c479d78..84056e6 100644 (file)
--- a/mptext.c
+++ b/mptext.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: mptext.c,v 1.12 2002/01/13 19:51:18 mdw Exp $
+ * $Id: mptext.c,v 1.13 2002/10/09 00:21:06 mdw Exp $
  *
  * Textual representation of multiprecision numbers
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: mptext.c,v $
+ * Revision 1.13  2002/10/09 00:21:06  mdw
+ * Allow user-specified `r_xx' bases to be up to 62.
+ *
  * Revision 1.12  2002/01/13 19:51:18  mdw
  * Extend the textual format to bases up to 62 by distinguishing case.
  *
@@ -339,7 +342,7 @@ restart:
 
     /* --- An underscore indicates a numbered base --- */
 
-    if (ch == '_' && r > 0 && r <= 36) {
+    if (ch == '_' && r > 0 && r <= 62) {
       unsigned i;
 
       /* --- Clear out the stacks --- */