summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Westerhuis <victor@westerhu.is>2021-12-05 22:41:41 +0100
committerAdrian Thurston <thurston@colm.net>2021-12-06 09:51:21 -0800
commit9835bf4ad410315311c022b0ddf927e4129644ba (patch)
treeb44f07f8ef97cc97b9465b31efc2fbb937883452
parent84f40a088bb20ec3050007ae9dfede9da3f0b0f7 (diff)
downloadcolm-9835bf4ad410315311c022b0ddf927e4129644ba.tar.gz
Fix some spelling errors
-rw-r--r--src/lookup.cc2
-rw-r--r--src/main.cc2
-rw-r--r--src/pdabuild.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lookup.cc b/src/lookup.cc
index cb243dc6..4e22b2b8 100644
--- a/src/lookup.cc
+++ b/src/lookup.cc
@@ -118,7 +118,7 @@ VarRefLookup LangVarRef::lookupQualification( Compiler *pd, NameScope *rootScope
ObjectDef *searchObjDef = qualUT->objectDef();
if ( searchObjDef == 0 )
- error(qi->loc) << "left hand side of qual has no object defintion" << endp;
+ error(qi->loc) << "left hand side of qual has no object definition" << endp;
searchScope = searchObjDef->rootScope;
}
diff --git a/src/main.cc b/src/main.cc
index 06647497..317f3bce 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -644,7 +644,7 @@ void processArgs( int argc, const char **argv )
else
fatal( "unknown argument to -D %s\n", pc.parameterArg );
#else
- fatal( "-D option specified but debugging messsages not compiled in\n" );
+ fatal( "-D option specified but debugging messages not compiled in\n" );
#endif
break;
diff --git a/src/pdabuild.cc b/src/pdabuild.cc
index 60a23c6b..1b3cd663 100644
--- a/src/pdabuild.cc
+++ b/src/pdabuild.cc
@@ -455,7 +455,7 @@ void Compiler::pdaOrderFollow( LangEl *rootEl, PdaState *tabState,
PdaTrans *tabTrans, PdaTrans *srcTrans, Production *parentDef,
Production *definition, long &time )
{
- /* We need the follow from tabState/srcState over the defintion we are
+ /* We need the follow from tabState/srcState over the definition we are
* currently processing. */
PdaState *overTab = tabTrans->toState;
PdaState *overSrc = srcTrans->toState;