]> git.tdb.fi Git - builder.git/commitdiff
Fix typos
authorMikko Rasa <tdb@tdb.fi>
Mon, 19 Dec 2022 18:15:27 +0000 (20:15 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 19 Dec 2022 18:15:27 +0000 (20:15 +0200)
source/gnucompiler.cpp
source/target.cpp

index 3903c6a079983975fa42cc468c6552fd32cf1a4f..2928cbfe21b30c88ea0b1d8a538ade7449b2f443 100644 (file)
@@ -72,7 +72,7 @@ Target *GnuCompiler::create_source(const FS::Path &path) const
 Target *GnuCompiler::create_target(const list<Target *> &sources, const string &)
 {
        if(sources.size()!=1)
-               throw invalid_argument("GnuCCompiler::create_target");
+               throw invalid_argument("GnuCompiler::create_target");
        SourceFile &source = dynamic_cast<SourceFile &>(*sources.front());
        ObjectFile *obj = new ObjectFile(builder, *source.get_component(), source);
        obj->set_tool(*this);
index b741705e4d34193276e8c642c344668a45f45ecd..d21bda8f255da200ed9660df546fd235224f1498 100644 (file)
@@ -61,7 +61,7 @@ Target *Target::get_buildable_target()
        bool self_ok = state!=BUILDING;
        for(Target *d: depends)
        {
-               // Avoid infinite recursion if a target repends on its own side effect
+               // Avoid infinite recursion if a target depends on its own side effect
                if(any_equals(side_effects, d))
                        continue;