summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-05-31 08:39:41 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-05-31 08:39:41 +0200
commitbb565445fa1c45451eccc46c736e2914e7297df0 (patch)
tree673f67742d0fcd3f5fdcdf006be0afbbdba099eb /modules
parent0a914b51f76028d91b3738c51f860f3dd00097d1 (diff)
downloadMPC-bb565445fa1c45451eccc46c736e2914e7297df0.tar.gz
Fixed typos using https://github.com/crate-ci/typos
Diffstat (limited to 'modules')
-rw-r--r--modules/Depgen/Preprocessor.pm2
-rw-r--r--modules/OutputMessage.pm2
-rw-r--r--modules/ProjectCreator.pm2
-rw-r--r--modules/StringProcessor.pm2
-rw-r--r--modules/WorkspaceCreator.pm8
5 files changed, 8 insertions, 8 deletions
diff --git a/modules/Depgen/Preprocessor.pm b/modules/Depgen/Preprocessor.pm
index 4c8d4a48..dc9de901 100644
--- a/modules/Depgen/Preprocessor.pm
+++ b/modules/Depgen/Preprocessor.pm
@@ -123,7 +123,7 @@ sub process {
}
## This has to be outside the if (open(...
- ## If the last file to be processed isn't accessable then
+ ## If the last file to be processed isn't accessible then
## we still need to return the array reference of includes.
if (!$noincs) {
my @files = ($file);
diff --git a/modules/OutputMessage.pm b/modules/OutputMessage.pm
index f37b84fc..31ea320a 100644
--- a/modules/OutputMessage.pm
+++ b/modules/OutputMessage.pm
@@ -49,7 +49,7 @@ sub set_levels {
}
}
-## Accessor for the debug setting. No parameters are necesary.
+## Accessor for the debug setting. No parameters are necessary.
sub get_debug_level {
return $debug;
}
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm
index f4977a65..87de6547 100644
--- a/modules/ProjectCreator.pm
+++ b/modules/ProjectCreator.pm
@@ -4306,7 +4306,7 @@ sub convert_command_parameters {
}
## Check for the gendir setting associated with this input file. We
- ## have to check at so many levels so we don't inadvertantly create
+ ## have to check at so many levels so we don't inadvertently create
## intermediate hash tables.
if (defined $self->{'flag_overrides'}->{$ktype} &&
defined $self->{'flag_overrides'}->{$ktype}->{$input} &&
diff --git a/modules/StringProcessor.pm b/modules/StringProcessor.pm
index 9544f2bb..f6da1934 100644
--- a/modules/StringProcessor.pm
+++ b/modules/StringProcessor.pm
@@ -117,7 +117,7 @@ sub crlf {
sub windows_crlf {
## Windows and cygwin require a carriage return and line feed.
## However, at some point cygwin changed the way it does output and can
- ## be controled through an environment variable.
+ ## be controlled through an environment variable.
return ($^O eq 'MSWin32' ||
($^O eq 'cygwin' &&
($] < 5.008 || (defined $ENV{PERLIO} && $ENV{PERLIO} eq 'crlf'))) ?
diff --git a/modules/WorkspaceCreator.pm b/modules/WorkspaceCreator.pm
index f41f6520..b6be9879 100644
--- a/modules/WorkspaceCreator.pm
+++ b/modules/WorkspaceCreator.pm
@@ -1352,7 +1352,7 @@ sub generate_hierarchy {
}
elsif ($top ne $current) {
if ($current ne '.') {
- ## Write out the hierachical workspace
+ ## Write out the hierarchical workspace
$self->cd($current);
($status, $errorString) = $self->generate_hierarchy($creator, \@saved, \%sinfo);
@@ -1535,7 +1535,7 @@ sub generate_project_files {
}
- ## Add implict project dependencies based on source files
+ ## Add implicit project dependencies based on source files
## that have been used by multiple projects. If we do it here
## before we call generate_hierarchy(), we don't have to call it
## in generate_hierarchy() for each workspace.
@@ -1846,7 +1846,7 @@ sub generate_project_files_fork {
}
}
- ## Add implict project dependencies based on source files
+ ## Add implicit project dependencies based on source files
## that have been used by multiple projects. If we do it here
## before we call generate_hierarchy(), we don't have to call it
## in generate_hierarchy() for each workspace.
@@ -2269,7 +2269,7 @@ sub generate_project_files_fork_socket {
}
}
- ## Add implict project dependencies based on source files
+ ## Add implicit project dependencies based on source files
## that have been used by multiple projects. If we do it here
## before we call generate_hierarchy(), we don't have to call it
## in generate_hierarchy() for each workspace.