summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/stream-source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-02-22 15:35:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-02-22 15:35:57 +0200
commit214e61b8334751a34f7522c609b939f4bc667881 (patch)
treef87fa89875cc4b0fd71fd2e2621e8f93ea9a3a73 /xsd/cxx/tree/stream-source.cxx
parentc3044ef3bffa360b9cfe41689499888847a02e9d (diff)
Reopen wide strings with width specifier (L)
Some compilers, notably VC++, don't like strings like L"foo""bar".
Diffstat (limited to 'xsd/cxx/tree/stream-source.cxx')
-rw-r--r--xsd/cxx/tree/stream-source.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xsd/cxx/tree/stream-source.cxx b/xsd/cxx/tree/stream-source.cxx
index 7631050..9b17522 100644
--- a/xsd/cxx/tree/stream-source.cxx
+++ b/xsd/cxx/tree/stream-source.cxx
@@ -249,7 +249,7 @@ namespace CXX
"e (i." << aname << " ().end ());" << endl
<< "b != e; ++b)"
<< "{"
- << "o << ::std::endl << " << L << strlit (e.name () + L": ");
+ << "o << ::std::endl << " << strlit (e.name () + L": ");
if (!poly)
os << " << *b;";
@@ -266,7 +266,7 @@ namespace CXX
os << "if (i." << aname << " ())"
<< "{"
- << "o << ::std::endl << " << L << strlit (e.name () + L": ");
+ << "o << ::std::endl << " << strlit (e.name () + L": ");
if (!poly)
os << " << *i." << aname << " ();";
@@ -280,7 +280,7 @@ namespace CXX
{
// one
//
- os << "o << ::std::endl << " << L << strlit (e.name () + L": ");
+ os << "o << ::std::endl << " << strlit (e.name () + L": ");
if (!poly)
os << " << i." << aname << " ();";
@@ -313,13 +313,13 @@ namespace CXX
{
os << "if (i." << aname << " ())"
<< "{"
- << "o << ::std::endl << " << L << strlit (a.name () + L": ") <<
+ << "o << ::std::endl << " << strlit (a.name () + L": ") <<
" << *i." << aname << " ();"
<< "}";
}
else
{
- os << "o << ::std::endl << " << L << strlit (a.name () + L": ") <<
+ os << "o << ::std::endl << " << strlit (a.name () + L": ") <<
" << i." << aname << " ();";
}
}