mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
Fix two typos
This commit is contained in:
parent
ff292d43ce
commit
720181be03
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user