@@ -1607,7 +1607,7 @@ $(GNAME PrimaryExpression):
1607
1607
$(GLINK_LEX IntegerLiteral)
1608
1608
$(GLINK_LEX FloatLiteral)
1609
1609
$(LEGACY_LNAME2 CharacterLiteral)$(LEGACY_LNAME2 character-literal)$(GLINK_LEX CharacterLiteral)
1610
- $(GLINK StringLiterals )
1610
+ $(GLINK_LEX StringLiteral )
1611
1611
$(GLINK ArrayLiteral)
1612
1612
$(GLINK AssocArrayLiteral)
1613
1613
$(GLINK FunctionLiteral)
@@ -1699,9 +1699,12 @@ $(H3 $(LNAME2 null, null))
1699
1699
$(H3 $(LNAME2 string_literals, String Literals))
1700
1700
1701
1701
$(GRAMMAR
1702
- $(GNAME StringLiterals):
1703
- $(GLINK_LEX StringLiteral)
1704
- $(GSELF StringLiterals) $(GLINK_LEX StringLiteral)
1702
+ $(GNAME StringLiteral):
1703
+ $(GLINK_LEX WysiwygString)
1704
+ $(GLINK_LEX AlternateWysiwygString)
1705
+ $(GLINK_LEX DoubleQuotedString)
1706
+ $(GLINK_LEX DelimitedString)
1707
+ $(GLINK_LEX TokenString)
1705
1708
)
1706
1709
1707
1710
$(P String literals can implicitly convert to any
@@ -1748,6 +1751,11 @@ $(GNAME StringLiterals):
1748
1751
string literal.
1749
1752
)
1750
1753
1754
+ $(P Concatenation of string literals requires the use of the
1755
+ `~` operator, and is resolved at compile time.
1756
+ C style implicit concatenation without an intervening operator is
1757
+ error prone and not supported in D.)
1758
+
1751
1759
$(H3 $(LNAME2 array_literals, Array Literals))
1752
1760
1753
1761
$(GRAMMAR
0 commit comments