diff options
author | Rob Mohr <mohrr@google.com> | 2021-05-21 15:46:01 -0700 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-05-22 07:19:41 +0000 |
commit | 81244f09a162c6f625d31a6fab039f5d9fa46828 (patch) | |
tree | ffe31d59f4f5e8f6380705174def52bd830ada4b /pw_tokenizer | |
parent | 3b1536d1f039674dc52825a815c1355543df763e (diff) | |
download | pigweed-81244f09a162c6f625d31a6fab039f5d9fa46828.tar.gz |
pw_tokenizer: Use inclusive language
Bug: 386
Change-Id: I3285fc8ac0909e2dac171bbada504690299b1284
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/46601
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: David Rogers <davidrogers@google.com>
Diffstat (limited to 'pw_tokenizer')
-rw-r--r-- | pw_tokenizer/docs.rst | 2 | ||||
-rw-r--r-- | pw_tokenizer/public/pw_tokenizer/internal/tokenize_string.h | 2 | ||||
-rw-r--r-- | pw_tokenizer/public/pw_tokenizer/tokenize.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pw_tokenizer/docs.rst b/pw_tokenizer/docs.rst index ce9786242..e2d714ab6 100644 --- a/pw_tokenizer/docs.rst +++ b/pw_tokenizer/docs.rst @@ -617,7 +617,7 @@ The binary database format is comprised of a 16-byte header followed by a series of 8-byte entries. Each entry stores the token and the removal date, which is 0xFFFFFFFF if there is none. The string literals are stored next in the same order as the entries. Strings are stored with null terminators. See -`token_database.h <https://pigweed.googlesource.com/pigweed/pigweed/+/refs/heads/master/pw_tokenizer/public/pw_tokenizer/token_database.h>`_ +`token_database.h <https://pigweed.googlesource.com/pigweed/pigweed/+/HEAD/pw_tokenizer/public/pw_tokenizer/token_database.h>`_ for full details. The binary form of the CSV database is shown below. It contains the same diff --git a/pw_tokenizer/public/pw_tokenizer/internal/tokenize_string.h b/pw_tokenizer/public/pw_tokenizer/internal/tokenize_string.h index 07591c008..17845dcd8 100644 --- a/pw_tokenizer/public/pw_tokenizer/internal/tokenize_string.h +++ b/pw_tokenizer/public/pw_tokenizer/internal/tokenize_string.h @@ -130,7 +130,7 @@ Entry { // be added to this file. #error "Unsupported value for PW_TOKENIZER_CFG_C_HASH_LENGTH" -// Define a dummy macro to give clearer compilation errors. +// Define a placeholder macro to give clearer compilation errors. #define PW_TOKENIZER_STRING_TOKEN(unused) 0u #endif // PW_TOKENIZER_CFG_C_HASH_LENGTH diff --git a/pw_tokenizer/public/pw_tokenizer/tokenize.h b/pw_tokenizer/public/pw_tokenizer/tokenize.h index cf21cd61d..62e671fe9 100644 --- a/pw_tokenizer/public/pw_tokenizer/tokenize.h +++ b/pw_tokenizer/public/pw_tokenizer/tokenize.h @@ -298,7 +298,7 @@ using Token = ::pw_tokenizer_Token; // // pw_tokenizer is intended for use with ELF files only. Mach-O files (macOS // executables) do not support section names longer than 16 characters, so a -// short, dummy section name is used on macOS. +// short, unused section name is used on macOS. #ifdef __APPLE__ #define _PW_TOKENIZER_SECTION \ PW_KEEP_IN_SECTION(PW_STRINGIFY(_PW_TOKENIZER_UNIQUE(.pw.))) |