not control stirng_init in syntex level

This commit is contained in:
lyon 2022-05-30 15:43:29 +08:00
parent b42798c6c6
commit 656d2bb44d

View File

@ -74,13 +74,9 @@
/* config for syntax level */
#if PIKA_SYNTAX_LEVEL == PIKA_SYNTAX_LEVEL_MINIMAL
#undef PIKA_INIT_STRING_ENABLE
#define PIKA_INIT_STRING_ENABLE 0
#undef PIKA_SYNTEX_ITEM_SLICE_ENABLE
#define PIKA_SYNTEX_ITEM_SLICE_ENABLE 0
#elif PIKA_SYNTAX_LEVEL == PIKA_SYNTAX_LEVEL_MAXIMAL
#undef PIKA_INIT_STRING_ENABLE
#define PIKA_INIT_STRING_ENABLE 1
#undef PIKA_SYNTEX_ITEM_SLICE_ENABLE
#define PIKA_SYNTEX_ITEM_SLICE_ENABLE 1
#endif