diff --git a/Examples/test-suite/doxygen_misc_constructs.i b/Examples/test-suite/doxygen_misc_constructs.i
index 461415316..c95e85683 100644
--- a/Examples/test-suite/doxygen_misc_constructs.i
+++ b/Examples/test-suite/doxygen_misc_constructs.i
@@ -10,16 +10,16 @@
// Tag '@endink' must be recognized even if it is not
// followed by whitespace.
- /** Tag endlink must be recognized also when followed by nonspace charater.
+ /** Tag endlink must be recognized also when followed by nonspace character.
*
* @link Connection::getId() @endlink
*/
-
+
char g_counter;
- /**
+ /**
Tag endlink must be recognized also when it is the last token
- in the commment.
+ in the comment.
@link Connection::getId() @endlink
@link debugIdeTraceProfilerCoverageSample.py Python example. @endlink
@@ -27,7 +27,7 @@
int g_zipCode;
- // Paramter 'isReportSize' must appear in comment of the overload, which
+ // Parameter 'isReportSize' must appear in comment of the overload, which
// has it. Empty line before link must be preserved.
/**
* Returns address of file line.
@@ -38,20 +38,20 @@
*
* @link Connection::getId() @endlink
*/
- void getAddress(int &fileName,
- int line,
+ void getAddress(int &fileName,
+ int line,
bool isGetSize = false) {}
// The first comment must be ignored.
- /**
+ /**
* \defgroup icFacade isystem.connect Facade
*
* This page shows the core classes, which can be used to control
* all aspects of winIDEA, for example: debugging, analyzers, IO module, ...
*/
- /**
- * This class contains information for connection to winIDEA. Its methods
+ /**
+ * This class contains information for connection to winIDEA. Its methods
* return reference to self, so we can use it like this:
*
* CConnectionConfig config = new CConnectionConfig(); @@ -70,7 +70,7 @@ // Text after '\c' must be kept unchanged in Python. /** - * Determines how long the \c isystem.connect should wait for running + * Determines how long the \c isystem.connect should wait for running * instances to respond. Only one of \c lfWaitXXX flags from IConnect::ELaunchFlags * may be specified. */ @@ -84,11 +84,11 @@ */ int getConnection() {return 3;} - // the follwing must produce no comment in wrapper + // the following must produce no comment in wrapper /*******************************************************************/ char getFirstLetter() {return 'a';} - + /** * Class description. */ @@ -119,6 +119,6 @@ void showList() { } #include "doxygen_misc_constructs.h" - + %} %include "doxygen_misc_constructs.h" diff --git a/Examples/test-suite/java/doxygen_misc_constructs_runme.java b/Examples/test-suite/java/doxygen_misc_constructs_runme.java index 7c799412e..6d018b9d2 100644 --- a/Examples/test-suite/java/doxygen_misc_constructs_runme.java +++ b/Examples/test-suite/java/doxygen_misc_constructs_runme.java @@ -12,8 +12,8 @@ public class doxygen_misc_constructs_runme { System.exit(1); } } - - public static void main(String argv[]) + + public static void main(String argv[]) { /* Here we are using internal javadoc tool, it accepts the name of the class as paramterer, @@ -25,7 +25,7 @@ public class doxygen_misc_constructs_runme { new String[]{"-quiet", "doxygen_misc_constructs"}); HashMap\n" + "\n" + " @param fileName name of the log file\n"); - - + + // and ask the parser to check comments for us System.exit(parser.check(wantedComments)); } diff --git a/Examples/test-suite/lua/abstract_access_runme.lua b/Examples/test-suite/lua/abstract_access_runme.lua index c1d836136..70467ee2b 100644 --- a/Examples/test-suite/lua/abstract_access_runme.lua +++ b/Examples/test-suite/lua/abstract_access_runme.lua @@ -6,7 +6,7 @@ local env = _ENV -- Lua 5.2 if not env then env = getfenv () end -- Lua 5.1 setmetatable(env, {__index=function (t,i) error("undefined global variable `"..i.."'",2) end}) --- trying to instantiate pure virual classes +-- trying to instantiate pure virtual classes -- should fail assert(pcall(abstract_access.A)==false) assert(pcall(abstract_access.B)==false) diff --git a/Examples/test-suite/ruby/newobject1_runme.rb b/Examples/test-suite/ruby/newobject1_runme.rb index f5dc12fb5..be1949377 100644 --- a/Examples/test-suite/ruby/newobject1_runme.rb +++ b/Examples/test-suite/ruby/newobject1_runme.rb @@ -8,7 +8,7 @@ # # Ruby's GC is somewhat broken in that it will mark some more stack space # leading to the collection of local objects to be delayed. -# Thus, upon invokation, it sometimes you can wait up to several +# Thus, upon invocation, it sometimes you can wait up to several # instructions to kick in. # See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7449 # diff --git a/Examples/test-suite/ruby/newobject2_runme.rb b/Examples/test-suite/ruby/newobject2_runme.rb index 99bc24374..04129f4aa 100644 --- a/Examples/test-suite/ruby/newobject2_runme.rb +++ b/Examples/test-suite/ruby/newobject2_runme.rb @@ -2,7 +2,7 @@ # # Ruby's GC is somewhat broken in that it will mark some more stack space # leading to the collection of local objects to be delayed. -# Thus, upon invokation, it sometimes you can wait up to several +# Thus, upon invocation, it sometimes you can wait up to several # instructions to kick in. # See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7449 # diff --git a/Examples/test-suite/ruby/swig_assert.rb b/Examples/test-suite/ruby/swig_assert.rb index 5b3f9b5ce..cbdfc036d 100644 --- a/Examples/test-suite/ruby/swig_assert.rb +++ b/Examples/test-suite/ruby/swig_assert.rb @@ -21,7 +21,7 @@ end def swig_assert_simple(a) unless a - raise SwigRubyError.new("assertion falied.") + raise SwigRubyError.new("assertion failed.") end end diff --git a/Examples/test-suite/template_virtual.i b/Examples/test-suite/template_virtual.i index 8c844f946..c760e1833 100644 --- a/Examples/test-suite/template_virtual.i +++ b/Examples/test-suite/template_virtual.i @@ -1,7 +1,7 @@ %module template_virtual // Submitted by Marcelo Matus -// assertion emmitted with templates + derivation + pure virtual member +// assertion emitted with templates + derivation + pure virtual member // allocate.cxx:47: int Allocate::is_abstract_inherit(Node*, Node*): // Assertion `dn' failed. diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 90e8b0b44..a916a1da9 100755 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -415,7 +415,7 @@ public: threads = 1; Swig_mark_arg(i); } else if (strcmp(argv[i], "-nothreads") == 0) { - /* Turn off thread suppor mode */ + /* Turn off thread support mode */ nothreads = 1; Swig_mark_arg(i); } else if (strcmp(argv[i], "-safecstrings") == 0) {wantedComments = new HashMap (); - + wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.getConnection()", "\n" + "\n" + @@ -42,7 +42,7 @@ public class doxygen_misc_constructs_runme { ""); wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.getG_zipCode()", " Tag endlink must be recognized also when it is the last token\n" + - " in the commment.\n" + + " in the comment.\n" + " \n" + " {@link Connection::getId() }
\n" + " {@link debugIdeTraceProfilerCoverageSample.py Python example. }\n" + @@ -50,14 +50,14 @@ public class doxygen_misc_constructs_runme { ""); wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.setG_zipCode(int)", " Tag endlink must be recognized also when it is the last token\n" + - " in the commment.\n" + + " in the comment.\n" + "\n" + " {@link Connection::getId() }
\n" + " {@link debugIdeTraceProfilerCoverageSample.py Python example. }\n" + "\n" + ""); wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.getG_counter()", - " Tag endlink must be recognized also when followed by nonspace charater.\n" + + " Tag endlink must be recognized also when followed by nonspace character.\n" + "\n" + " {@link Connection::getId() }
\n" + "\n" + @@ -94,7 +94,7 @@ public class doxygen_misc_constructs_runme { "\n" + ""); wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.setG_counter(char)", - " Tag endlink must be recognized also when followed by nonspace charater.\n" + + " Tag endlink must be recognized also when followed by nonspace character.\n" + "\n" + " {@link Connection::getId() }
\n" + "\n" + @@ -133,18 +133,18 @@ public class doxygen_misc_constructs_runme { " This comment without space after '*' is valid in Doxygen.\n" + "\n" + ""); - + wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.isNoSpaceValidB()", " .This comment without space after '*' is valid in Doxygen.\n" + "\n" + ""); - + wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.backslashA()", " Backslash followingword
is a valid doxygen command. Output contains\n" + " 'followingword' with 'word' in code font.\n" + "\n" + ""); - + wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.backslashB()", " Doxy command without trailing space is ignored - nothing appears\n" + " on output. Standalone \\ and '\\' get to output.\n" + @@ -189,8 +189,8 @@ public class doxygen_misc_constructs_runme { "