aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2015-10-06 11:40:31 +1000
committerSteve Bennett <steveb@workware.net.au>2015-10-06 11:40:31 +1000
commit20fb65ac241531c216aff64cd158cd8797128d49 (patch)
tree1e82f533b080bd90fd0b10efab6485eef050b737
parentd3255357060bbe901d3f9176b32ac8d994e782e9 (diff)
downloadjimtcl-20fb65ac241531c216aff64cd158cd8797128d49.zip
jimtcl-20fb65ac241531c216aff64cd158cd8797128d49.tar.gz
jimtcl-20fb65ac241531c216aff64cd158cd8797128d49.tar.bz2
Fix some spelling mistakes
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r--jim-pack.c2
-rw-r--r--jim.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/jim-pack.c b/jim-pack.c
index 0fdd445..61741fc 100644
--- a/jim-pack.c
+++ b/jim-pack.c
@@ -366,7 +366,7 @@ static int Jim_UnpackCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
* Packs the binary representation of 'value' into the variable of the given name.
* The value is packed according to the given type, width and bitoffset.
* The variable is created if necessary (like [append])
- * Ihe variable is expanded if necessary
+ * The variable is expanded if necessary
*/
static int Jim_PackCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
{
diff --git a/jim.h b/jim.h
index 38e5467..5ddaf9a 100644
--- a/jim.h
+++ b/jim.h
@@ -39,7 +39,7 @@
*--- Inline Header File Documentation ---
* [By Duane Ellis, openocd@duaneellis.com, 8/18/8]
*
- * Belief is "Jim" would greatly benifit if Jim Internals where
+ * Belief is "Jim" would greatly benefit if Jim Internals where
* documented in some way - form whatever, and perhaps - the package:
* 'doxygen' is the correct approach to do that.
*
@@ -156,7 +156,7 @@ extern "C" {
#define JIM_SUBST_NOVAR 1 /* don't perform variables substitutions */
#define JIM_SUBST_NOCMD 2 /* don't perform command substitutions */
#define JIM_SUBST_NOESC 4 /* don't perform escapes substitutions */
-#define JIM_SUBST_FLAG 128 /* flag to indicate that this is a real substition object */
+#define JIM_SUBST_FLAG 128 /* flag to indicate that this is a real substitution object */
/* Flags used by API calls getting a 'nocase' argument. */
#define JIM_CASESENS 0 /* case sensitive */
@@ -362,7 +362,7 @@ typedef struct Jim_Obj {
* can just call Jim_FreeNewObj. To call Jim_Free directly
* seems too raw, the object handling may change and we want
* that Jim_FreeNewObj() can be called only against objects
- * that are belived to have refcount == 0. */
+ * that are believed to have refcount == 0. */
#define Jim_FreeNewObj Jim_FreeObj
/* Free the internal representation of the object. */
@@ -446,7 +446,7 @@ typedef struct Jim_CallFrame {
* to a variable of name store on objPtr living on the given callframe
* (this happens when the [global] or [upvar] command is used).
* The interp in order to always know how to free the Jim_Obj associated
- * with a given variable because In Jim objects memory managment is
+ * with a given variable because In Jim objects memory management is
* bound to interpreters. */
typedef struct Jim_Var {
Jim_Obj *objPtr;