aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2015-06-28 20:51:02 +1000
committerSteve Bennett <steveb@workware.net.au>2015-06-28 20:51:02 +1000
commit5019501c3061f02e0df44ef2f936aa6ab9f729d8 (patch)
tree1423fcfafef0b2ffb61d041e01978d9f09e37423
parent0f2d8efa158a5898b9821dfc6eaa60baf8d97456 (diff)
parent109cadd4a9e43741b79387155eefe803f7e6749b (diff)
downloadjimtcl-5019501c3061f02e0df44ef2f936aa6ab9f729d8.zip
jimtcl-5019501c3061f02e0df44ef2f936aa6ab9f729d8.tar.gz
jimtcl-5019501c3061f02e0df44ef2f936aa6ab9f729d8.tar.bz2
Merge pull request #27 from frgm/master
typos
-rw-r--r--jim-load.c2
-rw-r--r--jim.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/jim-load.c b/jim-load.c
index a449931..b6be26d 100644
--- a/jim-load.c
+++ b/jim-load.c
@@ -122,7 +122,7 @@ void Jim_FreeLoadHandles(Jim_Interp *interp)
static int Jim_LoadCoreCommand(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
{
if (argc < 2) {
- Jim_WrongNumArgs(interp, 1, argv, "libaryFile");
+ Jim_WrongNumArgs(interp, 1, argv, "libraryFile");
return JIM_ERR;
}
return Jim_LoadLibrary(interp, Jim_String(argv[1]));
diff --git a/jim.c b/jim.c
index cdd7131..5b61a5d 100644
--- a/jim.c
+++ b/jim.c
@@ -3792,7 +3792,7 @@ static const Jim_HashTableType JimCommandsHashTableType = {
#ifdef jim_ext_namespace
/**
* Returns the "unscoped" version of the given namespace.
- * That is, the fully qualfied name without the leading ::
+ * That is, the fully qualified name without the leading ::
* The returned value is either nsObj, or an object with a zero ref count.
*/
static Jim_Obj *JimQualifyNameObj(Jim_Interp *interp, Jim_Obj *nsObj)
@@ -4276,7 +4276,7 @@ static const Jim_ObjType variableObjType = {
/**
* Check that the name does not contain embedded nulls.
*
- * Variable and procedure names are maniplated as null terminated strings, so
+ * Variable and procedure names are manipulated as null terminated strings, so
* don't allow names with embedded nulls.
*/
static int JimValidName(Jim_Interp *interp, const char *type, Jim_Obj *nameObjPtr)
@@ -4707,7 +4707,7 @@ int Jim_UnsetVariable(Jim_Interp *interp, Jim_Obj *nameObjPtr, int flags)
/* Given a variable name for [dict] operation syntax sugar,
* this function returns two objects, the first with the name
- * of the variable to set, and the second with the rispective key.
+ * of the variable to set, and the second with the respective key.
* For example "foo(bar)" will return objects with string repr. of
* "foo" and "bar".
*
@@ -5833,7 +5833,7 @@ static int SetIntFromAny(Jim_Interp *interp, Jim_Obj *objPtr, int flags)
const char *str;
if (objPtr->typePtr == &coercedDoubleObjType) {
- /* Simple switcheroo */
+ /* Simple switch */
objPtr->typePtr = &intObjType;
return JIM_OK;
}
@@ -6908,7 +6908,7 @@ Jim_Obj *Jim_ConcatObj(Jim_Interp *interp, int objc, Jim_Obj *const *objv)
if (objLen)
*p++ = ' ';
else {
- /* Drop the space calcuated for this
+ /* Drop the space calculated for this
* element that is instead null. */
len--;
}
@@ -7108,7 +7108,7 @@ static int SetDictFromAny(Jim_Interp *interp, struct Jim_Obj *objPtr)
/* Dict object API */
/* Add an element to a dict. objPtr must be of the "dict" type.
- * The higer-level exported function is Jim_DictAddElement().
+ * The higher-level exported function is Jim_DictAddElement().
* If an element with the specified key already exists, the value
* associated is replaced with the new one.
*