diff options
| author | pd <shackan@aris-ubuntu804.(none)> | 2008-06-14 15:53:07 +0200 |
|---|---|---|
| committer | pd <shackan@aris-ubuntu804.(none)> | 2008-06-14 15:53:07 +0200 |
| commit | adbbee355e1a2c9e9271cb68f9384f7057c70dbc (patch) | |
| tree | 50eda0cc338a247fa045b03ed959f6cac92e0ef9 /tools/xml2cpp.cpp | |
| parent | e6aee2ca053353819616649a97b4cb4c3eb6f1c2 (diff) | |
| download | dbus-c++-adbbee355e1a2c9e9271cb68f9384f7057c70dbc.tar.gz | |
Comma in code generator (Sergey Struzh)
Diffstat (limited to 'tools/xml2cpp.cpp')
| -rw-r--r-- | tools/xml2cpp.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/xml2cpp.cpp b/tools/xml2cpp.cpp index 3b38c6c..05f55ac 100644 --- a/tools/xml2cpp.cpp +++ b/tools/xml2cpp.cpp @@ -155,6 +155,10 @@ void _parse_signature( const string& signature, string& type, unsigned int& i ) ++i; _parse_signature(signature, type, i); type += " >"; + if(signature[i+1]) + { + type += ", "; + } continue; } case ')': |
