|
From: <de...@us...> - 2002-12-20 02:23:05
|
Update of /cvsroot/pymerase/pymerase/util
In directory sc8-pr-cvs1:/tmp/cvs-serv30420
Modified Files:
PymeraseType.py
Log Message:
handle double type
Index: PymeraseType.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/util/PymeraseType.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** PymeraseType.py 11 Dec 2002 17:32:15 -0000 1.8
--- PymeraseType.py 20 Dec 2002 02:23:02 -0000 1.9
***************
*** 109,112 ****
--- 109,114 ----
elif re.match("float.*", self.type_string):
return "double precision"
+ elif re.match("double.*", self.type_string):
+ return "double precision"
elif re.match("text", self.type_string):
return "text"
***************
*** 138,141 ****
--- 140,145 ----
return "types.IntType"
elif re.match("float", self.type_string):
+ return "types.FloatType"
+ elif re.match("double.*", self.type_string):
return "types.FloatType"
elif re.match("bool", self.type_string):
|