changeset 1036:5686d52f8188 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 5418d809dc6a
children 6a568c810231
files Renderer/Engine/xml.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 == '-')
         {