com gtk/php-gtk: Committing the fixed generator as suggested by Andrei: generator/h2def.py

[email protected] (David Soria Parra)
Newsgroups php.gtk.cvs
Message-ID <[email protected]>
Commit:    266f3b52b022b5e69233dc308f2e8916ddde20e9
Author:    Christian Weiske <[email protected]>         Fri, 9 Jun 2006 15:50:45 +0000
Parents:   cad5535aae75dbe9f378c8a6d105115177d97a7d
Branches:  master

Link:       http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=266f3b52b022b5e69233dc308f2e8916ddde20e9

Log:
Committing the fixed generator as suggested by Andrei

Changed paths:
  M  generator/h2def.py


Diff:
266f3b52b022b5e69233dc308f2e8916ddde20e9
diff --git a/generator/h2def.py b/generator/h2def.py
index 44e5824..170c613 100755
--- a/generator/h2def.py
+++ b/generator/h2def.py
@@ -228,7 +228,7 @@ def define_func(buf,fp):
         ret = m.group('ret')
         ret = string.replace(ret, 'const ', 'const-')
         args=m.group('args')
-        args=arg_split_pat.split(args,', ')
+        args=arg_split_pat.split(args)
 
         for i in range(len(args)):
             args[i] = string.replace(args[i], 'const ', 'const-')
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.