diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2019-09-27 06:02:54 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-09-27 07:02:54 +0200 |
commit | 39290cf88c5047e86dc4894e3190c63d5985f56f (patch) | |
tree | f37c9e0a5491fb9b11266ce08bddc297b57f37fc /tools | |
parent | 9dd297f613768bb170e05dcaf361015d9448c582 (diff) | |
download | Nim-39290cf88c5047e86dc4894e3190c63d5985f56f.tar.gz |
Fix spellings (#12277) [backport]
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dochack/fuzzysearch.nim | 4 | ||||
-rw-r--r-- | tools/heapdumprepl.nim | 2 | ||||
-rw-r--r-- | tools/vccexe/vccenv.nim | 2 | ||||
-rw-r--r-- | tools/vccexe/vccexe.nim | 12 | ||||
-rw-r--r-- | tools/vccexe/vcvarsall.nim | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/tools/dochack/fuzzysearch.nim b/tools/dochack/fuzzysearch.nim index 40575b998..1e5c8f0ef 100644 --- a/tools/dochack/fuzzysearch.nim +++ b/tools/dochack/fuzzysearch.nim @@ -24,9 +24,9 @@ type CharDiff = -1 ## An unmatched character was found. CharMatch = 0 ## A matched character was found. ConsecutiveMatch = 5 ## A consecutive match was found. - LeadingCharMatch = 10 ## The character matches the begining of the + LeadingCharMatch = 10 ## The character matches the beginning of the ## string or the first character of a word - ## or camel case boundry. + ## or camel case boundary. WordBoundryMatch = 20 ## The last ConsecutiveCharMatch that ## immediately precedes the end of the string, ## end of the pattern, or a LeadingCharMatch. diff --git a/tools/heapdumprepl.nim b/tools/heapdumprepl.nim index ffa153f5d..dbaef2f2c 100644 --- a/tools/heapdumprepl.nim +++ b/tools/heapdumprepl.nim @@ -49,7 +49,7 @@ const Help = """ quit -- quits this REPL locals, l -- output the list of local stack roots globals, g -- output the list of global roots -alias name addr -- give addr a name. start 'addr' with 'x' for hexidecimal +alias name addr -- give addr a name. start 'addr' with 'x' for hexadecimal notation print name|addr -- print a node by name or address reachable,r l|g|node dest -- outputs TRUE or FALSE depending on whether diff --git a/tools/vccexe/vccenv.nim b/tools/vccexe/vccenv.nim index 12a6e6b3d..216760e54 100644 --- a/tools/vccexe/vccenv.nim +++ b/tools/vccexe/vccenv.nim @@ -8,7 +8,7 @@ type ## Valid versions are Versions of Visual Studio that permanently set a COMNTOOLS ## environment variable. That includes Visual Studio version up to and including ## Visual Studio 2015 - vsUndefined = (0, ""), ## Version not specified, use latest recogized version on the system + vsUndefined = (0, ""), ## Version not specified, use latest recognized version on the system vs90 = (90, "VS90COMNTOOLS"), ## Visual Studio 2008 vs100 = (100, "VS100COMNTOOLS"), ## Visual Studio 2010 vs110 = (110, "VS110COMNTOOLS"), ## Visual Studio 2012 diff --git a/tools/vccexe/vccexe.nim b/tools/vccexe/vccexe.nim index feea6c0c0..e78f9da5e 100644 --- a/tools/vccexe/vccexe.nim +++ b/tools/vccexe/vccexe.nim @@ -30,7 +30,7 @@ proc discoverVccVcVarsAllPath*(version: VccVersion = vccUndefined): string = if result.len > 0: return - # All attempts to dicover vcc failed + # All attempts to discover vcc failed const vccversionPrefix = "--vccversion" @@ -73,11 +73,11 @@ Options: of the VCC version specified with the --vccversion argument. For each specified version the utility prints a line with the following format: <version>: <path> - --noCommand Flag to supress VCC secondary command execution - Useful in conjuction with --vccversion and --printPath to - only perfom VCC discovery, but without executing VCC tools + --noCommand Flag to suppress VCC secondary command execution + Useful in conjunction with --vccversion and --printPath to + only perform VCC discovery, but without executing VCC tools --vcvarsall:<path> Path to the Developer Command Prompt utility vcvarsall.bat that selects - the appropiate devlopment settings. + the appropriate development settings. Usual path for Visual Studio 2015 and below: %VSInstallDir%\VC\vcvarsall Usual path for Visual Studio 2017 and above: @@ -174,7 +174,7 @@ when isMainModule: head = "latest" echo "$1: $2" % [head, vcvarsallArg] - # Call vcvarsall to get the appropiate VCC process environment + # Call vcvarsall to get the appropriate VCC process environment var vcvars = vccVarsAll(vcvarsallArg, platformArg, sdkTypeArg, sdkVersionArg, verboseArg) if vcvars != nil: for vccEnvKey, vccEnvVal in vcvars: diff --git a/tools/vccexe/vcvarsall.nim b/tools/vccexe/vcvarsall.nim index 945fb90a6..29d13cc7e 100644 --- a/tools/vccexe/vcvarsall.nim +++ b/tools/vccexe/vcvarsall.nim @@ -88,7 +88,7 @@ proc vccVarsAll*(path: string, arch: VccArch = vccarchUnspecified, platform_type result = newStringTable(modeCaseInsensitive) # Parse the output of the final SET command to construct a String Table - # with the appropiate environment variables + # with the appropriate environment variables for line in comSpecOut.splitLines: let idx = line.find('=') if idx > 0: |