summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2023-05-16 09:55:49 +1200
committerOlly Betts <olly@survex.com>2023-05-16 09:55:49 +1200
commitaf87945aeafedf70b6ea729937b62cdff0b981ce (patch)
treed6c659334a819b561f14af9f2a55494ae36452e9 /Source
parente5650d8fa44e64d9b4ffd70b896f757eae4a65e6 (diff)
downloadswig-af87945aeafedf70b6ea729937b62cdff0b981ce.tar.gz
Clean up double spaces between words in comments
Diffstat (limited to 'Source')
-rw-r--r--Source/Modules/overload.cxx6
-rw-r--r--Source/Modules/r.cxx4
-rw-r--r--Source/Modules/swigmod.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/Source/Modules/overload.cxx b/Source/Modules/overload.cxx
index 5189c8ba4..e3f4f586b 100644
--- a/Source/Modules/overload.cxx
+++ b/Source/Modules/overload.cxx
@@ -560,7 +560,7 @@ String *Swig_overload_dispatch_cast(Node *n, const_String_or_char_ptr fmt, int *
}
}
if (!Getattr(pj, "tmap:in:SWIGTYPE") && Getattr(pj, "tmap:typecheck:SWIGTYPE")) {
- /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */
+ /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */
Swig_warning(WARN_TYPEMAP_TYPECHECK_UNDEF, Getfile(ni), Getline(ni),
"Overloaded method %s with no explicit typecheck typemap for arg %d of type '%s'\n",
Swig_name_decl(n), j, SwigType_str(Getattr(pj, "type"), 0));
@@ -737,7 +737,7 @@ static String *overload_dispatch_fast(Node *n, const_String_or_char_ptr fmt, int
}
}
if (!Getattr(pj, "tmap:in:SWIGTYPE") && Getattr(pj, "tmap:typecheck:SWIGTYPE")) {
- /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */
+ /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */
Swig_warning(WARN_TYPEMAP_TYPECHECK_UNDEF, Getfile(ni), Getline(ni),
"Overloaded method %s with no explicit typecheck typemap for arg %d of type '%s'\n",
Swig_name_decl(n), j, SwigType_str(Getattr(pj, "type"), 0));
@@ -836,7 +836,7 @@ String *Swig_overload_dispatch(Node *n, const_String_or_char_ptr fmt, int *maxar
num_braces++;
}
if (!Getattr(pj, "tmap:in:SWIGTYPE") && Getattr(pj, "tmap:typecheck:SWIGTYPE")) {
- /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */
+ /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */
Swig_warning(WARN_TYPEMAP_TYPECHECK_UNDEF, Getfile(ni), Getline(ni),
"Overloaded method %s with no explicit typecheck typemap for arg %d of type '%s'\n",
Swig_name_decl(n), j, SwigType_str(Getattr(pj, "type"), 0));
diff --git a/Source/Modules/r.cxx b/Source/Modules/r.cxx
index 1c2da3ac4..b8c6f291c 100644
--- a/Source/Modules/r.cxx
+++ b/Source/Modules/r.cxx
@@ -327,7 +327,7 @@ protected:
String *s_namespace;
// State variables that carry information across calls to functionWrapper()
- // from member accessors and class declarations.
+ // from member accessors and class declarations.
String *opaqueClassDeclaration;
int processing_variable;
int processing_member_access_function;
@@ -2783,7 +2783,7 @@ Language *swig_r(void) {
*----------------------------------------------------------------------- */
String * R::processType(SwigType *t, Node *n, int *nargs) {
//XXX Need to handle typedefs, e.g.
- // a type which is a typedef to a function pointer.
+ // a type which is a typedef to a function pointer.
SwigType *tmp = Getattr(n, "tdname");
if (debugMode)
diff --git a/Source/Modules/swigmod.h b/Source/Modules/swigmod.h
index dfeb2bace..bcbb4bd44 100644
--- a/Source/Modules/swigmod.h
+++ b/Source/Modules/swigmod.h
@@ -243,10 +243,10 @@ public:
/* Returns the dirprot mode */
int dirprot_mode() const;
- /* Check if the non public constructor is needed (for directors) */
+ /* Check if the non public constructor is needed (for directors) */
int need_nonpublic_ctor(Node *n);
- /* Check if the non public member is needed (for directors) */
+ /* Check if the non public member is needed (for directors) */
int need_nonpublic_member(Node *n);
/* Set none comparison string */