diff Renderer/Engine/xml.cc @ 1036:dcb3e55b34ed draft akira

xml accepts comma for backward compatibility
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 07 Dec 2010 16:31:25 +0900
parents 3bc98f6d31ff
children f0e805c09ed6
line wrap: on
line diff
--- a/Renderer/Engine/xml.cc	Sat Oct 02 04:16:23 2010 +0900
+++ b/Renderer/Engine/xml.cc	Tue Dec 07 16:31:25 2010 +0900
@@ -26,7 +26,7 @@
   cont = skip_to_number(cont);
   if (cont == NULL) return(NULL);
 
-  for (;*cont != ' ' && *cont != '\n' && *cont != '\t';cont++)
+  for (;*cont != ' ' && *cont != '\n' && *cont != '\t' && *cont != ',' ;cont++)
     {
       if (*cont == '-')
         {