Misc. documentation and source comment typo fixes
Found via `codespell -q 3 -L uint,od,objext,ba,cmo,bae,ans,struc,fo,clos,goin,upto,thru` Revert changes in previous commit
This commit is contained in:
parent
9829bdf5b1
commit
87695dacb1
9 changed files with 10 additions and 10 deletions
|
|
@ -471,7 +471,7 @@ void add_defined_foreign_type(Node *n, int overwrite = 0, String *k = 0,
|
|||
// a synonym type was found (held in variable 'match')
|
||||
// Printf(stderr, "setting primary synonym of %p to %p\n", new_node, match);
|
||||
if (new_node == match)
|
||||
Printf(stderr, "Hey-4 * - '%s' is a synonym of iteself!\n", Getattr(new_node, "name"));
|
||||
Printf(stderr, "Hey-4 * - '%s' is a synonym of itself!\n", Getattr(new_node, "name"));
|
||||
Setattr(new_node, "allegrocl:synonym-of", match);
|
||||
// Printf(stderr,"*** 4\n");
|
||||
add_linked_type(new_node);
|
||||
|
|
|
|||
|
|
@ -547,7 +547,7 @@ int CHICKEN::functionWrapper(Node *n) {
|
|||
}
|
||||
emit_return_variable(n, d, f);
|
||||
|
||||
/* Insert the argumetn output code */
|
||||
/* Insert the argument output code */
|
||||
Printv(f->code, argout, NIL);
|
||||
|
||||
/* Output cleanup code */
|
||||
|
|
@ -1456,7 +1456,7 @@ String *CHICKEN::chickenPrimitiveName(String *name) {
|
|||
if (value)
|
||||
return value;
|
||||
else {
|
||||
Swig_error(input_file, line_number, "Internal Error: attempting to reference non-existant primitive name %s\n", name);
|
||||
Swig_error(input_file, line_number, "Internal Error: attempting to reference non-existent primitive name %s\n", name);
|
||||
return NewString("#f");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1755,7 +1755,7 @@ public:
|
|||
if (new_value) {
|
||||
value = new_value;
|
||||
} else {
|
||||
// Even if the value is not representable in the target language, still use it in the documentaiton, for compatibility with the previous SWIG versions
|
||||
// Even if the value is not representable in the target language, still use it in the documentation, for compatibility with the previous SWIG versions
|
||||
// and because it can still be useful to see the C++ expression there.
|
||||
Node *lookup = Swig_symbol_clookup(value, 0);
|
||||
if (lookup)
|
||||
|
|
|
|||
|
|
@ -496,7 +496,7 @@ public:
|
|||
/* Add the failure cleanup code */
|
||||
/* TODO */
|
||||
|
||||
/* Final substititions if applicable */
|
||||
/* Final substitutions if applicable */
|
||||
Replaceall(wrapper->code, "$symname", functionName);
|
||||
|
||||
/* Set CheckInputArgument and CheckOutputArgument input arguments */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue