summaryrefslogtreecommitdiff
path: root/xsd/cxx/parser/driver-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/parser/driver-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/parser/driver-source.cxx')
-rw-r--r--xsd/cxx/parser/driver-source.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xsd/cxx/parser/driver-source.cxx b/xsd/cxx/parser/driver-source.cxx
index c410ccc..b48b0e0 100644
--- a/xsd/cxx/parser/driver-source.cxx
+++ b/xsd/cxx/parser/driver-source.cxx
@@ -718,12 +718,12 @@ namespace CXX
if (root->namespace_().name ())
os << ctx.xs_ns_name () << "::document doc_p (" << endl
<< root_p << "," << endl
- << L << ctx.strlit (root->namespace_().name ()) << "," << endl
- << L << ctx.strlit (root->name ()) << ");"
+ << ctx.strlit (root->namespace_().name ()) << "," << endl
+ << ctx.strlit (root->name ()) << ");"
<< endl;
else
os << ctx.xs_ns_name () << "::document doc_p (" << root_p << ", " <<
- L << ctx.strlit (root->name ()) << ");"
+ ctx.strlit (root->name ()) << ");"
<< endl;
os << root_p << ".pre ();"