Skip to content

Commit 5368dd2

Browse files
dkegel-fastlydeadprogram
authored andcommitted
misspell.csv: add new misspellings; also check in result of 'make spellfix'.
1 parent 194396d commit 5368dd2

File tree

12 files changed

+27
-15
lines changed

12 files changed

+27
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@
18961896
- allow packages like github.com/tinygo-org/tinygo/src/\* by aliasing it
18971897
- remove `//go:volatile` support
18981898
It has been replaced with the runtime/volatile package.
1899-
- allow poiners in map keys
1899+
- allow pointers in map keys
19001900
- support non-constant syscall numbers
19011901
- implement non-blocking selects
19021902
- add support for the `-tags` flag

builder/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ func determineStackSizes(mod llvm.Module, executable string) ([]string, map[stri
12591259
}
12601260

12611261
// Goroutines need to be started and finished and take up some stack space
1262-
// that way. This can be measured by measuing the stack size of
1262+
// that way. This can be measured by measuring the stack size of
12631263
// tinygo_startTask.
12641264
if numFuncs := len(functions["tinygo_startTask"]); numFuncs != 1 {
12651265
return nil, nil, fmt.Errorf("expected exactly one definition of tinygo_startTask, got %d", numFuncs)

loader/loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func Load(config *compileopts.Config, inputPkg string, typeChecker types.Config)
180180
if len(fields) >= 2 {
181181
// There is some file/line/column information.
182182
if n, err := strconv.Atoi(fields[len(fields)-2]); err == nil {
183-
// Format: filename.go:line:colum
183+
// Format: filename.go:line:column
184184
pos.Filename = strings.Join(fields[:len(fields)-2], ":")
185185
pos.Line = n
186186
pos.Column, _ = strconv.Atoi(fields[len(fields)-1])

misspell.csv

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,38 @@
1+
acces,access
12
acuire,acquire
23
addess,address
34
adust,adjust
45
allcoate,allocate
56
alloated,allocated
67
archtecture,architecture
78
arcive,archive
9+
ardiuno,arduino
810
beconfigured,be configured
11+
calcluate,calculate
12+
colum,column
913
configration,configuration
1014
contants,constants
1115
cricital,critical
16+
deffered,deferred
1217
evaulator,evaluator
18+
evironment,environment
1319
freqency,frequency
1420
frquency,frequency
1521
implmented,implemented
16-
interrput,interrupt
1722
interrut,interrupt
23+
interupt,interrupt
24+
measuing,measuring
25+
orignal,original
26+
overrided,overridden
27+
poiners,pointers
1828
poitner,pointer
19-
probbably,probably
29+
recogized,recognized
2030
refection,reflection
31+
requries,requires
2132
satisifying,satisfying
2233
simulataneously,simultaneously
2334
suggets,suggests
35+
transmition,transmission
2436
undefied,undefined
2537
unecessary,unnecessary
2638
unsiged,unsigned

src/machine/machine_k210.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const (
4949

5050
var (
5151
errUnsupportedSPIController = errors.New("SPI controller not supported. Use SPI0 or SPI1.")
52-
errI2CTxAbort = errors.New("I2C transmition has been aborted.")
52+
errI2CTxAbort = errors.New("I2C transmission has been aborted.")
5353
)
5454

5555
func (p Pin) setFPIOAIOPull(pull fpioaPullMode) {
@@ -619,7 +619,7 @@ func (i2c *I2C) Tx(addr uint16, w, r []byte) error {
619619
dataLen -= fifoLen
620620
}
621621

622-
// Wait for transmition to complete.
622+
// Wait for transmission to complete.
623623
for i2c.Bus.STATUS.HasBits(kendryte.I2C_STATUS_ACTIVITY) || !i2c.Bus.STATUS.HasBits(kendryte.I2C_STATUS_TFE) {
624624
}
625625

src/runtime/panic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func nilMapPanic() {
155155
runtimePanicAt(returnAddress(0), "assignment to entry in nil map")
156156
}
157157

158-
// Panic when trying to acces an array or slice out of bounds.
158+
// Panic when trying to access an array or slice out of bounds.
159159
func lookupPanic() {
160160
runtimePanicAt(returnAddress(0), "index out of range")
161161
}

src/runtime/runtime_avr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func exit(code int) {
104104

105105
func abort() {
106106
// Disable interrupts and go to sleep.
107-
// This can never be awoken except for reset, and is recogized as termination by simavr.
107+
// This can never be awoken except for reset, and is recognized as termination by simavr.
108108
avr.Asm("cli")
109109
for {
110110
avr.Asm("sleep")

src/runtime/runtime_mimxrt1062_clock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const (
1414

1515
// Note from Teensyduino (cores/teensy4/startup.c):
1616
//
17-
// | ARM SysTick is used for most Ardiuno timing functions, delay(), millis(),
17+
// | ARM SysTick is used for most Arduino timing functions, delay(), millis(),
1818
// | micros(). SysTick can run from either the ARM core clock, or from an
1919
// | "external" clock. NXP documents it as "24 MHz XTALOSC can be the external
2020
// | clock source of SYSTICK" (RT1052 ref manual, rev 1, page 411). However,

src/runtime/runtime_nintendoswitch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ func setupEnv() {
172172
func setupHeap() {
173173
if heapStart != 0 {
174174
if debugInit {
175-
print("Heap already overrided by hblauncher")
175+
print("Heap already overridden by hblauncher")
176176
}
177-
// Already overrided
177+
// Already overridden
178178
return
179179
}
180180

src/runtime/runtime_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func nanosecondsToTicks(ns int64) timeUnit {
129129
}
130130

131131
func sleepTicks(d timeUnit) {
132-
// Calcluate milliseconds from ticks (which have a resolution of 100ns),
132+
// Calculate milliseconds from ticks (which have a resolution of 100ns),
133133
// rounding up.
134134
milliseconds := int64(d+9_999) / 10_000
135135
for milliseconds != 0 {

0 commit comments

Comments
 (0)