diff options
author | Laurent Charrière <lcharriere@gmail.com> | 2010-10-14 22:26:49 -0700 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-15 18:27:11 +0100 |
commit | 8996fe4c6b1b09dd47fa7626acb7b58ab4266e40 (patch) | |
tree | 2265f889b88ed818bb90fdafe929afc392af3a11 /xml2cmp | |
parent | fbb785b6e8227d7c46b0c26cd5f03f223f7d7858 (diff) |
Better English messages and comments in ure/xml2cmp
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
Diffstat (limited to 'xml2cmp')
-rw-r--r-- | xml2cmp/source/support/sistr.hxx | 4 | ||||
-rw-r--r-- | xml2cmp/source/xcd/main.cxx | 4 | ||||
-rw-r--r-- | xml2cmp/source/xcd/parse.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/xml2cmp/source/support/sistr.hxx b/xml2cmp/source/support/sistr.hxx index 7ed584051..deb7d6e81 100644 --- a/xml2cmp/source/support/sistr.hxx +++ b/xml2cmp/source/support/sistr.hxx @@ -51,8 +51,8 @@ class Simstr // diverse utility functions const char * str() const { return sz; } - char * s(); // ATTENTION !!! // Only to be used, when a function needs a 'char*' but - // nevertheless THAT WILL BE NOT CHANGED! + char * s(); // CAUTION!!! // Only use when a function needs a 'char*' but + // still will NOT MODIFY THE STRING! // Typecasts to 'const char*' are performed automatically. int l() const; // Length of string without '\0' at end. Simstr operator+( diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx index 377cd9abe..3f3a325b2 100644 --- a/xml2cmp/source/xcd/main.cxx +++ b/xml2cmp/source/xcd/main.cxx @@ -134,10 +134,10 @@ Do_IndexCommandLine(const CommandLine & i_rCommandLine) i_rCommandLine.IdlRootPath(), i_rCommandLine.IndexedTags() ); - std::cout << "Gather xml-files ..." << std::endl; + std::cout << "Gathering xml-files ..." << std::endl; GatherFileNames( aFiles, i_rCommandLine.XmlSrcDirectory() ); - std::cout << "Create output ..." << std::endl; + std::cout << "Creating output ..." << std::endl; aIndex.GatherData(aFiles); aIndex.WriteOutput( i_rCommandLine.IndexOutputFile() ); diff --git a/xml2cmp/source/xcd/parse.cxx b/xml2cmp/source/xcd/parse.cxx index 20198cf59..9a7b4f625 100644 --- a/xml2cmp/source/xcd/parse.cxx +++ b/xml2cmp/source/xcd/parse.cxx @@ -216,7 +216,7 @@ X2CParser::Parse_SglAttr( Simstr & o_sAttrValue, Pass_White(); if (*text == '>') - SyntaxError("no attribute found, where one was expected"); + SyntaxError("no attribute found where one was expected"); Simstr sAttrName; Get_Attribute(o_sAttrValue, sAttrName); if (sAttrName != i_sAttrName) |