Misc. typo and whitespace fixes

Found via `codespell -q 3 -L "uint,bae,objext,cmo,goin,struc,ois,upto"`
whitespaces were unintentionally fixed due to my editors settings.

Rebased patch #1327
This commit is contained in:
luz.paz 2018-09-15 08:26:20 -04:00 • committed by William S Fulton
commit ed28e7cbe2
8 changed files with 32 additions and 32 deletions

View file

@ -10,7 +10,7 @@
// Tag '@endink' must be recognized even if it is not // Tag '@endink' must be recognized even if it is not
// followed by whitespace. // 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<br> */ * @link Connection::getId() @endlink<br> */
@ -19,7 +19,7 @@
/** /**
Tag endlink must be recognized also when it is the last token Tag endlink must be recognized also when it is the last token
in the commment. in the comment.
@link Connection::getId() @endlink<br> @link Connection::getId() @endlink<br>
@link debugIdeTraceProfilerCoverageSample.py Python example. @endlink @link debugIdeTraceProfilerCoverageSample.py Python example. @endlink
@ -27,7 +27,7 @@
int g_zipCode; 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. // has it. Empty line before link must be preserved.
/** /**
* Returns address of file line. * Returns address of file line.
@ -84,7 +84,7 @@
*/ */
int getConnection() {return 3;} int getConnection() {return 3;}
// the follwing must produce no comment in wrapper // the following must produce no comment in wrapper
/*******************************************************************/ /*******************************************************************/
char getFirstLetter() {return 'a';} char getFirstLetter() {return 'a';}

View file

@ -42,7 +42,7 @@ public class doxygen_misc_constructs_runme {
""); "");
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.getG_zipCode()", wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.getG_zipCode()",
" Tag endlink must be recognized also when it is the last token\n" + " Tag endlink must be recognized also when it is the last token\n" +
" in the commment.\n" + " in the comment.\n" +
" \n" + " \n" +
" {@link Connection::getId() }<br>\n" + " {@link Connection::getId() }<br>\n" +
" {@link debugIdeTraceProfilerCoverageSample.py Python example. }\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)", wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.setG_zipCode(int)",
" Tag endlink must be recognized also when it is the last token\n" + " Tag endlink must be recognized also when it is the last token\n" +
" in the commment.\n" + " in the comment.\n" +
"\n" + "\n" +
" {@link Connection::getId() }<br>\n" + " {@link Connection::getId() }<br>\n" +
" {@link debugIdeTraceProfilerCoverageSample.py Python example. }\n" + " {@link debugIdeTraceProfilerCoverageSample.py Python example. }\n" +
"\n" + "\n" +
""); "");
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.getG_counter()", 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" + "\n" +
" {@link Connection::getId() }<br>\n" + " {@link Connection::getId() }<br>\n" +
"\n" + "\n" +
@ -94,7 +94,7 @@ public class doxygen_misc_constructs_runme {
"\n" + "\n" +
""); "");
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.setG_counter(char)", 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" + "\n" +
" {@link Connection::getId() }<br>\n" + " {@link Connection::getId() }<br>\n" +
"\n" + "\n" +

View file

@ -6,7 +6,7 @@ local env = _ENV -- Lua 5.2
if not env then env = getfenv () end -- Lua 5.1 if not env then env = getfenv () end -- Lua 5.1
setmetatable(env, {__index=function (t,i) error("undefined global variable `"..i.."'",2) end}) 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 -- should fail
assert(pcall(abstract_access.A)==false) assert(pcall(abstract_access.A)==false)
assert(pcall(abstract_access.B)==false) assert(pcall(abstract_access.B)==false)

View file

@ -8,7 +8,7 @@
# #
# Ruby's GC is somewhat broken in that it will mark some more stack space # 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. # 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. # instructions to kick in.
# See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7449 # See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7449
# #

View file

@ -2,7 +2,7 @@
# #
# Ruby's GC is somewhat broken in that it will mark some more stack space # 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. # 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. # instructions to kick in.
# See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7449 # See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7449
# #

View file

@ -21,7 +21,7 @@ end
def swig_assert_simple(a) def swig_assert_simple(a)
unless a unless a
raise SwigRubyError.new("assertion falied.") raise SwigRubyError.new("assertion failed.")
end end
end end

View file

@ -1,7 +1,7 @@
%module template_virtual %module template_virtual
// Submitted by Marcelo Matus // 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*): // allocate.cxx:47: int Allocate::is_abstract_inherit(Node*, Node*):
// Assertion `dn' failed. // Assertion `dn' failed.

View file

@ -415,7 +415,7 @@ public:
threads = 1; threads = 1;
Swig_mark_arg(i); Swig_mark_arg(i);
} else if (strcmp(argv[i], "-nothreads") == 0) { } else if (strcmp(argv[i], "-nothreads") == 0) {
/* Turn off thread suppor mode */ /* Turn off thread support mode */
nothreads = 1; nothreads = 1;
Swig_mark_arg(i); Swig_mark_arg(i);
} else if (strcmp(argv[i], "-safecstrings") == 0) { } else if (strcmp(argv[i], "-safecstrings") == 0) {