From 214e61b8334751a34f7522c609b939f4bc667881 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Feb 2010 15:35:57 +0200 Subject: Reopen wide strings with width specifier (L) Some compilers, notably VC++, don't like strings like L"foo""bar". --- xsd/cxx/tree/stream-extraction-source.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'xsd/cxx/tree/stream-extraction-source.cxx') diff --git a/xsd/cxx/tree/stream-extraction-source.cxx b/xsd/cxx/tree/stream-extraction-source.cxx index 39c5994..53f508e 100644 --- a/xsd/cxx/tree/stream-extraction-source.cxx +++ b/xsd/cxx/tree/stream-extraction-source.cxx @@ -73,8 +73,8 @@ namespace CXX char_type << ", " << name << " >" << endl << "_xsd_" << name << "_stream_extraction_init_" << n++ << " (" << endl - << L << strlit (l.name ()) << "," << endl - << L << strlit (xml_ns_name (l)) << ");" + << strlit (l.name ()) << "," << endl + << strlit (xml_ns_name (l)) << ");" << endl; } } @@ -141,8 +141,8 @@ namespace CXX char_type << ", " << name << " >" << endl << "_xsd_" << name << "_stream_extraction_init_" << n++ << " (" << endl - << L << strlit (u.name ()) << "," << endl - << L << strlit (xml_ns_name (u)) << ");" + << strlit (u.name ()) << "," << endl + << strlit (xml_ns_name (u)) << ");" << endl; } } @@ -210,8 +210,8 @@ namespace CXX char_type << ", " << name << " >" << endl << "_xsd_" << name << "_stream_extraction_init_" << n++ << " (" << endl - << L << strlit (e.name ()) << "," << endl - << L << strlit (xml_ns_name (e)) << ");" + << strlit (e.name ()) << "," << endl + << strlit (xml_ns_name (e)) << ");" << endl; } } @@ -643,8 +643,8 @@ namespace CXX char_type << ", " << name << " >" << endl << "_xsd_" << name << "_stream_extraction_init_" << n++ << " (" << endl - << L << strlit (c.name ()) << "," << endl - << L << strlit (xml_ns_name (c)) << ");" + << strlit (c.name ()) << "," << endl + << strlit (xml_ns_name (c)) << ");" << endl; } } -- cgit v1.1