changeset 1038:ac072799d994 draft

accepts comma as a backward compatibility
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 07 Dec 2010 16:38:08 +0900
parents 2403d545abd8
children d4d366d17e36 d0bb27bf985b
files Renderer/Engine/xml.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Engine/xml.cc	Mon Nov 29 18:27:06 2010 +0900
+++ b/Renderer/Engine/xml.cc	Tue Dec 07 16:38:08 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 == '-')
         {