[svn commit] r429 - trunk/gc

jimb at red-bean.com jimb at red-bean.com
Sun Mar 27 21:43:39 CST 2005


Author: jimb
Date: Sun Mar 27 21:43:38 2005
New Revision: 429

Modified:
   trunk/gc/numbers.c
Log:
Recognize a leading '+'.


Modified: trunk/gc/numbers.c
==============================================================================
--- trunk/gc/numbers.c	(original)
+++ trunk/gc/numbers.c	Sun Mar 27 21:43:38 2005
@@ -174,6 +174,13 @@
 	      parsed_radix = new_radix;
 	    }
 	}
+      else if (u == mn_unicode_plus_sign)
+	{
+	  if (state != prefix)
+	    goto ill_formed;
+
+	  state = digits;
+	}
       else if (u == mn_unicode_hyphen_minus)
 	{
 	  if (state != prefix)




More information about the Minor mailing list