Fix spellings (#12277) [backport]
This commit is contained in:
parent
9dd297f613
commit
39290cf88c
110 changed files with 166 additions and 166 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue