fix a bug introduced when fixing #438208 and reported by Ashwin fix an

* tree.c: fix a bug introduced when fixing #438208 and reported by
  Ashwin
* python/generator.py: fix an infinite loop bug
Daniel

svn path=/trunk/; revision=3733
diff --git a/python/generator.py b/python/generator.py
index a38a23c..8cf327b 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -849,6 +849,9 @@
      output.write(indent)
      output.write('"""')
      while len(val) > 60:
+         if val[0] == " ":
+	     val = val[1:]
+	     continue
          str = val[0:60]
          i = string.rfind(str, " ");
          if i < 0: