Skip to content

Commit a47ff02

Browse files
dkegel-fastlydeadprogram
authored andcommitted
make spell: add a few missing misspellings, fix format of .csv file, also fix *.md
1 parent e27b2c4 commit a47ff02

File tree

6 files changed

+33
-29
lines changed

6 files changed

+33
-29
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- `builder`: keep un-wasm-opt'd .wasm if -work was passed
1919
- `builder`: make sure wasm-opt command line is printed if asked
2020
- `cgo`: implement shift operations in preprocessor macros
21-
- `interp`: checking for methodset existance
21+
- `interp`: checking for methodset existence
2222

2323
* **standard library**
2424
- `machine`: add `__tinygo_spi_tx` function to simulator
@@ -217,7 +217,7 @@
217217
- `reflect`: add SetZero
218218
- `reflect`: fix iterating over maps with interface{} keys
219219
- `reflect`: implement Value.Grow
220-
- `reflect`: remove unecessary heap allocations
220+
- `reflect`: remove unnecessary heap allocations
221221
- `reflect`: use .key() instead of a type assert
222222
- `sync`: add implementation from upstream Go for OnceFunc, OnceValue, and OnceValues
223223
* **targets**

GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,11 +963,11 @@ lint: tools ## Lint source tree
963963
SPELLDIRSCMD=find . -depth 1 -type d | egrep -wv '.git|lib|llvm|src'; find src -depth 1 | egrep -wv 'device|internal|net|vendor'; find src/internal -depth 1 -type d | egrep -wv src/internal/wasi
964964
.PHONY: spell
965965
spell: tools ## Spellcheck source tree
966-
misspell -error --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) )
966+
misspell -error --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) *.md
967967

968968
.PHONY: spellfix
969969
spellfix: tools ## Same as spell, but fixes what it finds
970-
misspell -w --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) )
970+
misspell -w --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) *.md
971971

972972
# https://www.client9.com/self-documenting-makefiles/
973973
.PHONY: help

interp/interp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func newRunner(mod llvm.Module, timeout time.Duration, debug bool) *runner {
5252
return &r
5353
}
5454

55-
// Dispose deallocates all alloated LLVM resources.
55+
// Dispose deallocates all allocated LLVM resources.
5656
func (r *runner) dispose() {
5757
r.targetData.Dispose()
5858
r.targetData = llvm.TargetData{}

misspell.csv

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1-
acuire, acquire
2-
adust, adjust
3-
allcoate, allocate
4-
archtecture, architecture
5-
arcive, archive
6-
configration, configuration
7-
contants, constants
8-
cricital, critical
9-
evaulator, evaluator
10-
freqency, frequency
11-
frquency, frequency
12-
implmented, implemented
13-
interrput, interrupt
14-
interrut, interrupt
15-
poitner, pointer
16-
probbably, probably
17-
refection, reflection
18-
satisifying, satisfying
19-
simulataneously, simultaneously
20-
suggets, suggests
21-
undefied, undefined
22-
unsiged, unsigned
1+
acuire,acquire
2+
addess,address
3+
adust,adjust
4+
allcoate,allocate
5+
alloated,allocated
6+
archtecture,architecture
7+
arcive,archive
8+
beconfigured,be configured
9+
configration,configuration
10+
contants,constants
11+
cricital,critical
12+
evaulator,evaluator
13+
freqency,frequency
14+
frquency,frequency
15+
implmented,implemented
16+
interrput,interrupt
17+
interrut,interrupt
18+
poitner,pointer
19+
probbably,probably
20+
refection,reflection
21+
satisifying,satisfying
22+
simulataneously,simultaneously
23+
suggets,suggests
24+
undefied,undefined
25+
unecessary,unnecessary
26+
unsiged,unsigned

src/machine/machine_rp2040_i2c.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var (
3636
// GPIO config
3737
// Each controller must connect its clock SCL and data SDA to one pair of GPIOs.
3838
// The I2C standard requires that drivers drivea signal low, or when not driven the signal will be pulled high.
39-
// This applies to SCL and SDA. The GPIO pads should beconfigured for:
39+
// This applies to SCL and SDA. The GPIO pads should be configured for:
4040
// Pull-up enabled
4141
// Slew rate limited
4242
// Schmitt trigger enabled

src/runtime/interrupt/interrupt_esp32c3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func handleException(mcause uintptr) {
222222
println("*** Exception: mcause:", mcause)
223223
switch uint32(mcause & 0x1f) {
224224
case 1:
225-
println("*** virtual addess:", riscv.MTVAL.Get())
225+
println("*** virtual address:", riscv.MTVAL.Get())
226226
case 2:
227227
println("*** opcode:", riscv.MTVAL.Get())
228228
case 5:

0 commit comments

Comments
 (0)