Parent Directory | Revision Log | Patch
revision 1.25 by jcater, Thu Jul 10 23:15:26 2003 UTC | revision 1.26 by jcater, Sat Jul 26 23:53:46 2003 UTC | |
---|---|---|
# | Line 323 def buildConditionFromDict (dict, compar | Line 323 def buildConditionFromDict (dict, compar |
323 | for key in dict.keys(): | for key in dict.keys(): |
324 | eq = comparison(lastParent) | eq = comparison(lastParent) |
325 | GCField(eq, key) | GCField(eq, key) |
326 | GCConst(eq, dict[key]) | |
327 | ## if string.split(str(type(dict[key])),"'")[1] in ('int', 'float'): | |
328 | if type(dict[key]) in (types.IntType, types.FloatType): | |
329 | consttype="number" | |
330 | else: | |
331 | consttype="char" | |
332 | GCConst(eq, dict[key], consttype) | |
333 | ||
334 | return cond | return cond |
335 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |