diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y index dfbfa43b6..759f5259c 100644 --- a/Source/CParse/parser.y +++ b/Source/CParse/parser.y @@ -1863,7 +1863,7 @@ extend_directive : EXTEND options classkeyopt idcolon LBRACE { } else { /* Previous typedef class definition. Use its symbol table. Deprecated, just the real name should be used. - Note that %extend before the class typedef never worked, only %extend after the class typdef. */ + Note that %extend before the class typedef never worked, only %extend after the class typedef. */ prev_symtab = Swig_symbol_setscope(Getattr(cls, "symtab")); current_class = cls; SWIG_WARN_NODE_BEGIN(cls); diff --git a/Source/Modules/javascript.cxx b/Source/Modules/javascript.cxx index 2d6535972..e80910a41 100644 --- a/Source/Modules/javascript.cxx +++ b/Source/Modules/javascript.cxx @@ -1143,7 +1143,7 @@ int JSEmitter::emitConstant(Node *n) { String *rawval = Getattr(n, "rawval"); String *value = rawval ? rawval : Getattr(n, "value"); - // HACK: forcing usage of cppvalue for v8 (which turned out to fix typdef_struct.i, et. al) + // HACK: forcing usage of cppvalue for v8 (which turned out to fix typedef_struct.i, et. al) if (State::IsSet(state.globals(FORCE_CPP)) && Getattr(n, "cppvalue") != NULL) { value = Getattr(n, "cppvalue"); }