From 3b1a67e1b9d86fc5c106ff6a058d2e95c30aa25b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Apr 2014 13:17:22 +0200 Subject: Add missing space in generated error messages --- xsde/cxx/hybrid/generator.cxx | 4 ++-- xsde/cxx/parser/generator.cxx | 4 ++-- xsde/cxx/serializer/generator.cxx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xsde/cxx/hybrid/generator.cxx b/xsde/cxx/hybrid/generator.cxx index 5f06a7d..9e83e4b 100644 --- a/xsde/cxx/hybrid/generator.cxx +++ b/xsde/cxx/hybrid/generator.cxx @@ -932,7 +932,7 @@ namespace CXX if (ops.char_encoding () == "iso8859-1") { hxx << "#ifndef XSDE_ENCODING_ISO8859_1" << endl - << "#error the generated code uses the ISO-8859-1 encoding" << + << "#error the generated code uses the ISO-8859-1 encoding " << "while the XSD/e runtime does not (reconfigure the runtime " << "or change the --char-encoding value)" << endl << "#endif" << endl @@ -941,7 +941,7 @@ namespace CXX else { hxx << "#ifndef XSDE_ENCODING_UTF8" << endl - << "#error the generated code uses the UTF-8 encoding" << + << "#error the generated code uses the UTF-8 encoding " << "while the XSD/e runtime does not (reconfigure the runtime " << "or change the --char-encoding value)" << endl << "#endif" << endl diff --git a/xsde/cxx/parser/generator.cxx b/xsde/cxx/parser/generator.cxx index 72ade75..53f5559 100644 --- a/xsde/cxx/parser/generator.cxx +++ b/xsde/cxx/parser/generator.cxx @@ -812,7 +812,7 @@ namespace CXX if (ops.char_encoding () == "iso8859-1") { hxx << "#ifndef XSDE_ENCODING_ISO8859_1" << endl - << "#error the generated code uses the ISO-8859-1 encoding" << + << "#error the generated code uses the ISO-8859-1 encoding " << "while the XSD/e runtime does not (reconfigure the runtime " << "or change the --char-encoding value)" << endl << "#endif" << endl @@ -821,7 +821,7 @@ namespace CXX else { hxx << "#ifndef XSDE_ENCODING_UTF8" << endl - << "#error the generated code uses the UTF-8 encoding" << + << "#error the generated code uses the UTF-8 encoding " << "while the XSD/e runtime does not (reconfigure the runtime " << "or change the --char-encoding value)" << endl << "#endif" << endl diff --git a/xsde/cxx/serializer/generator.cxx b/xsde/cxx/serializer/generator.cxx index 6bb5ce8..2bbb75e 100644 --- a/xsde/cxx/serializer/generator.cxx +++ b/xsde/cxx/serializer/generator.cxx @@ -802,7 +802,7 @@ namespace CXX if (ops.char_encoding () == "iso8859-1") { hxx << "#ifndef XSDE_ENCODING_ISO8859_1" << endl - << "#error the generated code uses the ISO-8859-1 encoding" << + << "#error the generated code uses the ISO-8859-1 encoding " << "while the XSD/e runtime does not (reconfigure the runtime " << "or change the --char-encoding value)" << endl << "#endif" << endl @@ -811,7 +811,7 @@ namespace CXX else { hxx << "#ifndef XSDE_ENCODING_UTF8" << endl - << "#error the generated code uses the UTF-8 encoding" << + << "#error the generated code uses the UTF-8 encoding " << "while the XSD/e runtime does not (reconfigure the runtime " << "or change the --char-encoding value)" << endl << "#endif" << endl -- cgit v1.1