Re: [svn:parrot-pdd] r30568 - trunk/docs/pdds

2008-08-28 Thread Allison Randal

[EMAIL PROTECTED] wrote:
 
+PIR keywords, on the other hand, Iare reserved, and cannot be used as

+identifiers. Some opcode names (Cif, Cunless) are, in fact, PIR keywords,
+which therefore cannot be used as identifiers.


If the PDD says the keywords are reserved, it also needs to say what the 
keywords are.


Allison


[svn:parrot-pdd] r30568 - trunk/docs/pdds

2008-08-26 Thread kjs
Author: kjs
Date: Tue Aug 26 04:24:18 2008
New Revision: 30568

Modified:
   trunk/docs/pdds/pdd19_pir.pod

Log:
[pdd19] add a comment that PIR keywords cannot be used as PIR identifiers (as 
opposed to opcode names, which are allowed).

Modified: trunk/docs/pdds/pdd19_pir.pod
==
--- trunk/docs/pdds/pdd19_pir.pod   (original)
+++ trunk/docs/pdds/pdd19_pir.pod   Tue Aug 26 04:24:18 2008
@@ -63,6 +63,10 @@
 Opcode names are not reserved words in PIR, and may be used as variable names.
 For example, you can define a local variable named Cprint.  [See RT #24251]
 
+PIR keywords, on the other hand, Iare reserved, and cannot be used as
+identifiers. Some opcode names (Cif, Cunless) are, in fact, PIR keywords,
+which therefore cannot be used as identifiers.
+
 {{ NOTE: The use of C:: in identifiers is deprecated. [See RT #48735] }}
 
 =head3 Labels