diff options
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. |