GeneratorExpression: Add $<QUOTE> generator expression

Support inserting '"' literals in generator expressions

Fixes #20869
This commit is contained in:
Robert Maynard
2024-02-12 11:27:39 -05:00
parent 026270fe3d
commit 879690ba14
7 changed files with 17 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ add_custom_target(check-part1 ALL
-Dtest_strequal_comma=$<STREQUAL:$<COMMA>,$<COMMA>>
-Dtest_strequal_semicolon=$<STREQUAL:$<SEMICOLON>,$<SEMICOLON>>
-Dtest_strequal_angle_r_comma=$<STREQUAL:$<ANGLE-R>,$<COMMA>>
-Dtest_strequal_quote=$<STREQUAL:$<QUOTE>,$<QUOTE>>
-Dtest_strequal_both_empty=$<STREQUAL:,>
-Dtest_strequal_one_empty=$<STREQUAL:something,>
-Dtest_inlist_true=$<IN_LIST:a,a$<SEMICOLON>b>

View File

@@ -47,6 +47,7 @@ check(test_strequal_angle_r "1")
check(test_strequal_comma "1")
check(test_strequal_semicolon "1")
check(test_strequal_angle_r_comma "0")
check(test_strequal_quote "1")
check(test_strequal_both_empty "1")
check(test_strequal_one_empty "0")
check(test_inlist_true "1")