misspell.csv: add new misspellings; also check in result of 'make spellfix'.

This commit is contained in:
Dan Kegel
2024-08-14 13:52:51 -07:00
committed by Ron Evans
parent 194396d715
commit 5368dd22c5
12 changed files with 27 additions and 15 deletions
+1 -1
View File
@@ -1896,7 +1896,7 @@
- allow packages like github.com/tinygo-org/tinygo/src/\* by aliasing it - allow packages like github.com/tinygo-org/tinygo/src/\* by aliasing it
- remove `//go:volatile` support - remove `//go:volatile` support
It has been replaced with the runtime/volatile package. It has been replaced with the runtime/volatile package.
- allow poiners in map keys - allow pointers in map keys
- support non-constant syscall numbers - support non-constant syscall numbers
- implement non-blocking selects - implement non-blocking selects
- add support for the `-tags` flag - add support for the `-tags` flag
+1 -1
View File
@@ -1259,7 +1259,7 @@ func determineStackSizes(mod llvm.Module, executable string) ([]string, map[stri
} }
// Goroutines need to be started and finished and take up some stack space // Goroutines need to be started and finished and take up some stack space
// that way. This can be measured by measuing the stack size of // that way. This can be measured by measuring the stack size of
// tinygo_startTask. // tinygo_startTask.
if numFuncs := len(functions["tinygo_startTask"]); numFuncs != 1 { if numFuncs := len(functions["tinygo_startTask"]); numFuncs != 1 {
return nil, nil, fmt.Errorf("expected exactly one definition of tinygo_startTask, got %d", numFuncs) return nil, nil, fmt.Errorf("expected exactly one definition of tinygo_startTask, got %d", numFuncs)
+1 -1
View File
@@ -180,7 +180,7 @@ func Load(config *compileopts.Config, inputPkg string, typeChecker types.Config)
if len(fields) >= 2 { if len(fields) >= 2 {
// There is some file/line/column information. // There is some file/line/column information.
if n, err := strconv.Atoi(fields[len(fields)-2]); err == nil { if n, err := strconv.Atoi(fields[len(fields)-2]); err == nil {
// Format: filename.go:line:colum // Format: filename.go:line:column
pos.Filename = strings.Join(fields[:len(fields)-2], ":") pos.Filename = strings.Join(fields[:len(fields)-2], ":")
pos.Line = n pos.Line = n
pos.Column, _ = strconv.Atoi(fields[len(fields)-1]) pos.Column, _ = strconv.Atoi(fields[len(fields)-1])
+14 -2
View File
@@ -1,3 +1,4 @@
acces,access
acuire,acquire acuire,acquire
addess,address addess,address
adust,adjust adust,adjust
@@ -5,22 +6,33 @@ allcoate,allocate
alloated,allocated alloated,allocated
archtecture,architecture archtecture,architecture
arcive,archive arcive,archive
ardiuno,arduino
beconfigured,be configured beconfigured,be configured
calcluate,calculate
colum,column
configration,configuration configration,configuration
contants,constants contants,constants
cricital,critical cricital,critical
deffered,deferred
evaulator,evaluator evaulator,evaluator
evironment,environment
freqency,frequency freqency,frequency
frquency,frequency frquency,frequency
implmented,implemented implmented,implemented
interrput,interrupt
interrut,interrupt interrut,interrupt
interupt,interrupt
measuing,measuring
orignal,original
overrided,overridden
poiners,pointers
poitner,pointer poitner,pointer
probbably,probably recogized,recognized
refection,reflection refection,reflection
requries,requires
satisifying,satisfying satisifying,satisfying
simulataneously,simultaneously simulataneously,simultaneously
suggets,suggests suggets,suggests
transmition,transmission
undefied,undefined undefied,undefined
unecessary,unnecessary unecessary,unnecessary
unsiged,unsigned unsiged,unsigned
1 acuire acces acquire access
1 acces access
2 acuire acuire acquire acquire
3 addess addess address address
4 adust adust adjust adjust
6 alloated alloated allocated allocated
7 archtecture archtecture architecture architecture
8 arcive arcive archive archive
9 ardiuno arduino
10 beconfigured beconfigured be configured be configured
11 calcluate calculate
12 colum column
13 configration configration configuration configuration
14 contants contants constants constants
15 cricital cricital critical critical
16 deffered deferred
17 evaulator evaulator evaluator evaluator
18 evironment environment
19 freqency freqency frequency frequency
20 frquency frquency frequency frequency
21 implmented implmented implemented implemented
interrput interrupt
22 interrut interrut interrupt interrupt
23 interupt interrupt
24 measuing measuring
25 orignal original
26 overrided overridden
27 poiners pointers
28 poitner poitner pointer pointer
29 probbably recogized probably recognized
30 refection refection reflection reflection
31 requries requires
32 satisifying satisifying satisfying satisfying
33 simulataneously simulataneously simultaneously simultaneously
34 suggets suggets suggests suggests
35 transmition transmission
36 undefied undefied undefined undefined
37 unecessary unecessary unnecessary unnecessary
38 unsiged unsiged unsigned unsigned
+2 -2
View File
@@ -49,7 +49,7 @@ const (
var ( var (
errUnsupportedSPIController = errors.New("SPI controller not supported. Use SPI0 or SPI1.") errUnsupportedSPIController = errors.New("SPI controller not supported. Use SPI0 or SPI1.")
errI2CTxAbort = errors.New("I2C transmition has been aborted.") errI2CTxAbort = errors.New("I2C transmission has been aborted.")
) )
func (p Pin) setFPIOAIOPull(pull fpioaPullMode) { func (p Pin) setFPIOAIOPull(pull fpioaPullMode) {
@@ -619,7 +619,7 @@ func (i2c *I2C) Tx(addr uint16, w, r []byte) error {
dataLen -= fifoLen dataLen -= fifoLen
} }
// Wait for transmition to complete. // Wait for transmission to complete.
for i2c.Bus.STATUS.HasBits(kendryte.I2C_STATUS_ACTIVITY) || !i2c.Bus.STATUS.HasBits(kendryte.I2C_STATUS_TFE) { for i2c.Bus.STATUS.HasBits(kendryte.I2C_STATUS_ACTIVITY) || !i2c.Bus.STATUS.HasBits(kendryte.I2C_STATUS_TFE) {
} }
+1 -1
View File
@@ -155,7 +155,7 @@ func nilMapPanic() {
runtimePanicAt(returnAddress(0), "assignment to entry in nil map") runtimePanicAt(returnAddress(0), "assignment to entry in nil map")
} }
// Panic when trying to acces an array or slice out of bounds. // Panic when trying to access an array or slice out of bounds.
func lookupPanic() { func lookupPanic() {
runtimePanicAt(returnAddress(0), "index out of range") runtimePanicAt(returnAddress(0), "index out of range")
} }
+1 -1
View File
@@ -104,7 +104,7 @@ func exit(code int) {
func abort() { func abort() {
// Disable interrupts and go to sleep. // Disable interrupts and go to sleep.
// This can never be awoken except for reset, and is recogized as termination by simavr. // This can never be awoken except for reset, and is recognized as termination by simavr.
avr.Asm("cli") avr.Asm("cli")
for { for {
avr.Asm("sleep") avr.Asm("sleep")
+1 -1
View File
@@ -14,7 +14,7 @@ const (
// Note from Teensyduino (cores/teensy4/startup.c): // Note from Teensyduino (cores/teensy4/startup.c):
// //
// | ARM SysTick is used for most Ardiuno timing functions, delay(), millis(), // | ARM SysTick is used for most Arduino timing functions, delay(), millis(),
// | micros(). SysTick can run from either the ARM core clock, or from an // | micros(). SysTick can run from either the ARM core clock, or from an
// | "external" clock. NXP documents it as "24 MHz XTALOSC can be the external // | "external" clock. NXP documents it as "24 MHz XTALOSC can be the external
// | clock source of SYSTICK" (RT1052 ref manual, rev 1, page 411). However, // | clock source of SYSTICK" (RT1052 ref manual, rev 1, page 411). However,
+2 -2
View File
@@ -172,9 +172,9 @@ func setupEnv() {
func setupHeap() { func setupHeap() {
if heapStart != 0 { if heapStart != 0 {
if debugInit { if debugInit {
print("Heap already overrided by hblauncher") print("Heap already overridden by hblauncher")
} }
// Already overrided // Already overridden
return return
} }
+1 -1
View File
@@ -129,7 +129,7 @@ func nanosecondsToTicks(ns int64) timeUnit {
} }
func sleepTicks(d timeUnit) { func sleepTicks(d timeUnit) {
// Calcluate milliseconds from ticks (which have a resolution of 100ns), // Calculate milliseconds from ticks (which have a resolution of 100ns),
// rounding up. // rounding up.
milliseconds := int64(d+9_999) / 10_000 milliseconds := int64(d+9_999) / 10_000
for milliseconds != 0 { for milliseconds != 0 {
+1 -1
View File
@@ -67,7 +67,7 @@ func deadlock() {
// Goexit terminates the currently running goroutine. No other goroutines are affected. // Goexit terminates the currently running goroutine. No other goroutines are affected.
// //
// Unlike the main Go implementation, no deffered calls will be run. // Unlike the main Go implementation, no deferred calls will be run.
// //
//go:inline //go:inline
func Goexit() { func Goexit() {
+1 -1
View File
@@ -97,7 +97,7 @@ func read(fd int32, buf *byte, count uint) int {
type wasiFile struct { type wasiFile struct {
d types.Descriptor d types.Descriptor
oflag int32 // orignal open flags: O_RDONLY, O_WRONLY, O_RDWR oflag int32 // original open flags: O_RDONLY, O_WRONLY, O_RDWR
offset int64 // current fd offset; updated with each read/write offset int64 // current fd offset; updated with each read/write
refs int refs int
} }