mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-18 08:49:29 +08:00
[gdb/contrib] Add two rules in common-misspellings.txt
Eli mentioned [1] that given that we use US English spelling in our documentation, we should use "behavior" instead of "behaviour". In wikipedia-common-misspellings.txt there's a rule: ... behavour->behavior, behaviour ... which leaves this as a choice. Add an overriding rule to hardcode the choice to common-misspellings.txt: ... behavour->behavior ... and add a rule to rewrite behaviour into behavior: ... behaviour->behavior ... and re-run spellcheck.sh on gdb*. Tested on x86_64-linux. [1] https://sourceware.org/pipermail/gdb-patches/2024-November/213371.html
This commit is contained in:
@@ -95,7 +95,7 @@ private:
|
||||
|
||||
/* A base class used by fortran_array_walker. There's no virtual methods
|
||||
here, sub-classes should just override the functions they want in order
|
||||
to specialise the behaviour to their needs. The functionality
|
||||
to specialise the behavior to their needs. The functionality
|
||||
provided in these default implementations will visit every array
|
||||
element, but do nothing for each element. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user