git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a992545
)
generate correctly datatypes containnig underscore
author
Miloš Mulač
<mulac@civ.zcu.cz>
Wed, 16 Dec 2009 13:19:17 +0000
(13:19 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Wed, 16 Dec 2009 13:19:17 +0000
(13:19 +0000)
org.glite.lb.server/src/ws_typeref.c.T
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/ws_typeref.c.T
b/org.glite.lb.server/src/ws_typeref.c.T
index
2233e49
..
61a4aa5
100644
(file)
--- a/
org.glite.lb.server/src/ws_typeref.c.T
+++ b/
org.glite.lb.server/src/ws_typeref.c.T
@@
-854,6
+854,7
@@
foreach ('_common_', sort { $event->{order}->{$a} <=> $event->{order}->{$b} } ge
$upper_cn = $code->{name};
$enum_value = "${enum_value_prefix}${upper_cn}";
+ $upper_cn =~ s/_/_USCORE/g;
$soap_enum_value = "lbt__${soap_en}${soap_fn}__${upper_cn}";
gen "\tcase $soap_enum_value: *out = $enum_value; break;\n"
}
@@
-885,6
+886,7
@@
foreach ('_common_', sort { $event->{order}->{$a} <=> $event->{order}->{$b} } ge
$upper_cn = $code->{name};
$enum_value = "${enum_value_prefix}${upper_cn}";
+ $upper_cn =~ s/_/_USCORE/g;
$soap_enum_value = "lbt__${soap_en}${soap_fn}__${upper_cn}";
gen "\tcase $enum_value: $target = $soap_enum_value; break;\n"
}