Author: larry
Date: Mon Aug 14 12:36:02 2006
New Revision: 10940

Modified:
   doc/trunk/design/syn/S02.pod

Log:
Clarified that comments may not contain unspace.  agentzh++ and luqui++.


Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod        (original)
+++ doc/trunk/design/syn/S02.pod        Mon Aug 14 12:36:02 2006
@@ -12,9 +12,9 @@
 
   Maintainer: Larry Wall <[EMAIL PROTECTED]>
   Date: 10 Aug 2004
-  Last Modified: 10 Aug 2006
+  Last Modified: 14 Aug 2006
   Number: 2
-  Version: 63
+  Version: 64
 
 This document summarizes Apocalypse 2, which covers small-scale
 lexical items and typological issues.  (These Synopses also contain
@@ -210,6 +210,22 @@
 
 =item *
 
+An unspace may contain a comment, but a comment may not contain an unspace.
+In particular, end-of-line comments do not treat backslash as significant.
+If you say:
+
+    #\ (...
+
+it is an end-of-line comment, not an embedded comment.  Write:
+
+    \ #(
+       ...
+       )
+
+to mean the other thing.
+
+=item *
+
 In general, whitespace is optional in Perl 6 except where it is needed
 to separate constructs that would be misconstrued as a single token or
 other syntactic unit.  (In other words, Perl 6 follows the standard

Reply via email to