diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-23 00:09:38 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-23 00:09:38 +0000 |
commit | aff67b6bbc28eba4d1f4a4a12e116e63ab4813ea (patch) | |
tree | b7892405559e1714c330ffb8ac9de9104296f4e3 /pw_tokenizer/tokenize.cc | |
parent | 13960e09d00c4e8612da0a9084e0e051603f072b (diff) | |
parent | f054515492af5132f685cb23fe11891ee77104c9 (diff) | |
download | pigweed-android14-qpr2-s1-release.tar.gz |
Snap for 11135477 from f054515492af5132f685cb23fe11891ee77104c9 to 24Q1-releaseandroid-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: I018123259cd231d0e74933e492391999e36650e8
Diffstat (limited to 'pw_tokenizer/tokenize.cc')
-rw-r--r-- | pw_tokenizer/tokenize.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pw_tokenizer/tokenize.cc b/pw_tokenizer/tokenize.cc index dbe3fd696..c4dcf4798 100644 --- a/pw_tokenizer/tokenize.cc +++ b/pw_tokenizer/tokenize.cc @@ -27,6 +27,9 @@ namespace pw { namespace tokenizer { namespace { +static_assert(sizeof(PW_TOKENIZER_NESTED_PREFIX_STR) == 2, + "The nested prefix must be a single character string"); + // Store metadata about this compilation's string tokenization in the ELF. // // The tokenizer metadata will not go into the on-device executable binary code. |