aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2013-10-21 18:40:16 +0300
committerYakov Goldberg <yakov.g@samsung.com>2013-10-21 18:41:16 +0300
commit5ddf0c2b054990c00c0b0be20a97e0c4cc6234bd (patch)
treef78c51bb65877e88d65e8f2a6e2c74c1fc3fc5f0
parentadd rw/ro/wo modificator for property, remove section prop_set/get (diff)
downloadeo_bindings-5ddf0c2b054990c00c0b0be20a97e0c4cc6234bd.tar.gz
change "in,out" to "inout", beacause comma is delimeter
-rw-r--r--eoparser/cparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eoparser/cparser.py b/eoparser/cparser.py
index 614e888..dbaaf0c 100644
--- a/eoparser/cparser.py
+++ b/eoparser/cparser.py
@@ -834,7 +834,7 @@ class Cparser(object):
tab_level += 1
param_num = len(f[const.PARAMETERS])
for (n, m ,t1, d, c) in f[const.PARAMETERS]:
- line = "%s%s %s %s /* %s */"%(tab_level * tab, d, t1, n, c)
+ line = "%s%s %s %s /* %s */"%(tab_level * tab, "inout" if d == "in,out" else d, t1, n, c)
if param_num > 1:
line += ","
lines.append(line)