Fix two typos

This commit is contained in:
Kurtis Rader 2020-05-17 18:14:51 -07:00 committed by Qi Xiao
parent ff292d43ce
commit 720181be03
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ func (cp *compiler) registerVariableAccess(qname string, set bool, r diag.Ranger
name1, _ = SplitQNameNsFirst(name)
}
// This switch mirrors the structure of that from (*Frame).ResoleVar.
// This switch mirrors the structure of that from (*Frame).ResolveVar.
switch ns {
case "E:":
return true

View File

@ -22,7 +22,7 @@ import (
//
// When assigning a new value a string is implicitly treated as an octal
// number. If that fails the usual rules for interpreting
// [numbers](./language.html#number) are used. The following arer equivalent:
// [numbers](./language.html#number) are used. The following are equivalent:
// `unix:umask = 027` and `unix:umask = 0o27`. You can also assign to it a
// `float64` data type that has no fractional component.
// The assigned value must be within the range [0 ... 0o777], otherwise the