aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-05-26 17:38:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-05-26 17:38:08 +0200
commit54c3d3ecf7abaac4c2239f44340f7f9dbdadfe3a (patch)
tree1a3941ed020d47fa2a9fa99537ce79beddbd3dc9
parent8bc13ff21fe4497743d3dadb8237d07cd0192c7f (diff)
Add 'U' suffix to unsigned default values for C99
-rw-r--r--xsd/cxx/tree/default-value.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xsd/cxx/tree/default-value.cxx b/xsd/cxx/tree/default-value.cxx
index ff964d3..97c8f0f 100644
--- a/xsd/cxx/tree/default-value.cxx
+++ b/xsd/cxx/tree/default-value.cxx
@@ -174,7 +174,7 @@ namespace CXX
{
collapse (value_);
strip_zeros (value_);
- literal_ = value_;
+ literal_ = value_ + L"U";
}
Void LiteralValue::
@@ -190,7 +190,7 @@ namespace CXX
{
collapse (value_);
strip_zeros (value_);
- literal_ = value_;
+ literal_ = value_ + L"U";
}
Void LiteralValue::
@@ -206,7 +206,7 @@ namespace CXX
{
collapse (value_);
strip_zeros (value_);
- literal_ = value_;
+ literal_ = value_ + L"U";
}
Void LiteralValue::