diff options
Diffstat (limited to 'src/tokenizer/char_ref/data.rs')
-rw-r--r-- | src/tokenizer/char_ref/data.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tokenizer/char_ref/data.rs b/src/tokenizer/char_ref/data.rs index fa839ba..9487034 100644 --- a/src/tokenizer/char_ref/data.rs +++ b/src/tokenizer/char_ref/data.rs @@ -7,6 +7,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. //! Data that is known at compile-time and hard-coded into the binary. +#[cfg(feature = "named-entities")] use phf::Map; /// The spec replaces most characters in the ISO-2022 C1 control code range @@ -47,4 +48,5 @@ pub static C1_REPLACEMENTS: [Option<char>; 32] = [ Some('\u{0178}'), ]; +#[cfg(feature = "named-entities")] include!(concat!(env!("OUT_DIR"), "/named_entities.rs")); |