perl6-language
[Top] [All Lists]

[svn:perl6-synopsis] r14574 - doc/trunk/design/syn

To: perl6-language@perl.org
Subject: [svn:perl6-synopsis] r14574 - doc/trunk/design/syn
From: larry@cvs.perl.org
Date: Fri, 8 Aug 2008 10:34:50 -0700 (PDT)
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org
Delivered-to: mailing list perl6-language@perl.org
Delivered-to: perl6-language@perl.org
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-language.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
Author: larry
Date: Fri Aug  8 10:34:49 2008
New Revision: 14574

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

Log:
allow isolated ' and - in identifiers (only if followed by alpha)


Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod        (original)
+++ doc/trunk/design/syn/S02.pod        Fri Aug  8 10:34:49 2008
@@ -14,7 +14,7 @@
   Date: 10 Aug 2004
   Last Modified: 8 Aug 2008
   Number: 2
-  Version: 135
+  Version: 136
 
 This document summarizes Apocalypse 2, which covers small-scale
 lexical items and typological issues.  (These Synopses also contain
@@ -1589,7 +1589,8 @@
 An I<identifier> is composed of an alphabetic character followed by
 any sequence of alphanumeric characters.  The definitions of alphabetic
 and numeric include appropriate Unicode characters.  Underscore is
-always considered alphabetic.
+always considered alphabetic.  An identifier may also contain isolated
+apostrophes or hyphens provided the next character is alphabetic.
 
 A I<name> is anything that is a legal part of a variable name (not counting
 the sigil).  This includes


<Prev in Thread] Current Thread [Next in Thread>