Skip to content

Commit 26dd744

Browse files
committed
Improve wording on pragma(mangle) on aggregate
1 parent 5a85d97 commit 26dd744

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/pragma.dd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ $(H3 $(LNAME2 mangle, $(D pragma mangle)))
273273
$(P Overrides the default mangling for a symbol.)
274274

275275
$(P For variables and functions there must be one $(ASSIGNEXPRESSION) and it must evaluate at compile time to a string literal.
276-
For aggregates there may one or two $(ASSIGNEXPRESSION)s, one of which must evaluate at compile time to a string literal,
277-
one which must evaluate to a symbol. If that symbol is a TemplateInstance the aggregate is treated as being a template
278-
with the signature and arguments of the TemplateInstance. If no string is supplied the identifier of the symbol is used
279-
in its place. Both arguments may be used used when an aggregate has name that is a D keyword.
276+
For aggregates there may be one or two $(ASSIGNEXPRESSION)s, one of which must evaluate at compile time to a string literal and
277+
one which must evaluate to a symbol. If that symbol is a $(I TemplateInstance), the aggregate is treated as a template
278+
that has the signature and arguments of the $(I TemplateInstance). The identifier of the symbol is used when no string is supplied.
279+
Both arguments may be used used when an aggregate's name is a D keyword.
280280
)
281281

282282
$(P It only applies to function and variable symbols. Other symbols are ignored.)

0 commit comments

Comments
 (0)