Skip to content

Commit a8dc06b

Browse files
Minor clean-up (misplaced X<> header and footnote) (#2356)
1 parent 3a0aa71 commit a8dc06b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/Language/syntax.pod6

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ of comment
221221
say 'code again';
222222
=end code
223223
224-
X<identifier>
225-
=head2 Identifiers
224+
=head2 X<Identifiers|identifier, identifiers>
226225
227226
Identifiers are grammatical building blocks that may be used to give a name
228227
to entities/objects such as constants, variables (e.g. Scalars) and routines
@@ -308,7 +307,9 @@ generates unique variants of that identifier.
308307
These strings have the form C<:key<value>>, wherein C<key> I<or> C<value> are
309308
optional; that is, after the colon that separates it from a regular identifier,
310309
there will be a C<key> and/or a quoting bracketing construct such as C«< >», C<« »>
311-
or C<[' ']> which quotes one or more arbitrary characters C<value>:
310+
or C<[' ']> which quotes one or more arbitrary characters C<value>: N<Starting
311+
with Perl 6 language version 6.d, colon pairs with C<sym> as the C<key>
312+
(e.g. C«:sym<foo>») are reserved for possible future use.>
312313
313314
=begin code :skip-test<Identifiers good and bad>
314315
# exemplary valid extended identifiers:
@@ -323,8 +324,6 @@ party:16sweet
323324
party:!a # ...and neither is !a
324325
party:$a # ...nor $a
325326
=end code
326-
N<Starting with Perl 6 language version 6.d, colon pairs with C<sym> as the
327-
C<key> (e.g. C«:sym<foo>») are reserved for possible future use.>
328327
329328
In an extended identifier, the postfix string is considered an integral part of
330329
the name, so C<infix:<+>> and C<infix:<->> are two different operators. The

0 commit comments

Comments
 (0)