com php-langspec: <<<A\nA\n is valid: spec/09-lexical-structure.md spec/19-grammar.md

[email protected] (Nikita Popov) Tue, 09 Aug 2016 21:39:02 +0000
Newsgroups php.standards.cvs
Message-ID <[email protected]>
Commit:    8e8df911b732cc08ca0ae45f788c918147b9d007=0AAuthor:    Nikita Pop=
ov <[email protected]>         Tue, 9 Aug 2016 23:39:02 +0200=0AParents:   39cb=
8bede53e51929700fd2fae66ae3790306d7b=0ABranches:  master=0A=0ALink:       h=
ttp://git.php.net/?p=3Dphp-langspec.git;a=3Dcommitdiff;h=3D8e8df911b732cc08=
ca0ae45f788c918147b9d007=0A=0ALog:=0A<<<A\nA\n is valid=0A=0AChanged paths:=
=0A  M  spec/09-lexical-structure.md=0A  M  spec/19-grammar.md=0A=0A=0ADiff=
:=0Adiff --git a/spec/09-lexical-structure.md b/spec/09-lexical-structure.m=
d=0Aindex a3b3665..f8dcd74 100644=0A--- a/spec/09-lexical-structure.md=0A++=
+ b/spec/09-lexical-structure.md=0A@@ -745,7 +745,7 @@ echo "\$myC->p1 =3D =
>$myC->p1<\n";  // =E2=86=92 $myC->p1 =3D >2<=0A =0A <pre>=0A   <i>heredoc-=
string-literal::</i>=0A-    <i>b-prefix<sub>opt</sub></i> &lt;&lt;&lt;  <i>=
hd-start-identifier   new-line   hd-char-sequence<sub>opt</sub>  new-line h=
d-end-identifier</i>  ;<i><sub>opt</sub>   new-line</i>=0A+    <i>b-prefix<=
sub>opt</sub></i>   &lt;&lt;&lt;   <i>hd-start-identifier   new-line   hd-b=
ody<sub>opt</i>   hd-end-identifier</i>   ;<i><sub>opt</sub>   new-line</i>=
=0A =0A   <i>hd-start-identifier::</i>=0A     <i>name</i>=0A@@ -754,6 +754,=
9 @@ echo "\$myC->p1 =3D >$myC->p1<\n";  // =E2=86=92 $myC->p1 =3D >2<=0A  =
 <i>hd-end-identifier::</i>=0A     <i>name</i>=0A =0A+  <i>hd-body::</i>=0A=
+    <i>hd-char-sequence<sub>opt</sub>   new-line<i>=0A+=0A   <i>hd-char-se=
quence::</i>=0A     <i>hd-char</i>=0A     <i>hd-char-sequence   hd-char</i>=
=0A@@ -825,12 +828,12 @@ echo ">$s<";=0A =0A <pre>=0A   <i>nowdoc-string-li=
teral::</i>=0A-    <i>b-prefix<sub>opt</sub></i> &lt;&lt;&lt;  '  <i>name</=
i>  '  <i>new-line  hd-char-sequence<sub>opt</sub>   new-line name</i>  ;<i=
><sub>opt</sub>   new-line</i>=0A+    <i>b-prefix<sub>opt</sub></i>  &lt;&l=
t;&lt;  '  <i>name</i>  '  <i>new-line  hd-body<sub>opt</sub>   name</i>  ;=
<i><sub>opt</sub>   new-line</i>=0A </pre>=0A =0A **Defined elsewhere**=0A =
=0A-* [*hd-char-sequence*](#heredoc-string-literals)=0A+* [*hd-body*](#here=
doc-string-literals)=0A * [*new-line*](#comments)=0A * [*b-prefix*](#single=
-quoted-string-literals)=0A =0Adiff --git a/spec/19-grammar.md b/spec/19-gr=
ammar.md=0Aindex e426ea1..97c272f 100644=0A--- a/spec/19-grammar.md=0A+++ b=
/spec/19-grammar.md=0A@@ -284,7 +284,7 @@ The grammar notation is described=
 in [Grammars section](09-lexical-structure.md#=0A         ->   <i>name</i>=
=0A =0A   <i>heredoc-string-literal::</i>=0A-    <i>b-prefix<sub>opt</sub><=
/i> &lt;&lt;&lt;  <i>hd-start-identifier   new-line   hd-char-sequence<sub>=
opt</sub>  new-line hd-end-identifier</i>  ;<i><sub>opt</sub>   new-line</i=
>=0A+    <i>b-prefix<sub>opt</sub></i>   &lt;&lt;&lt;   <i>hd-start-identif=
ier   new-line   hd-body<sub>opt</i>   hd-end-identifier</i>   ;<i><sub>opt=
</sub>   new-line</i>=0A =0A   <i>hd-start-identifier::</i>=0A     <i>name<=
/i>=0A@@ -293,6 +293,9 @@ The grammar notation is described in [Grammars se=
ction](09-lexical-structure.md#=0A   <i>hd-end-identifier::</i>=0A     <i>n=
ame</i>=0A =0A+  <i>hd-body::</i>=0A+    <i>hd-char-sequence<sub>opt</sub> =
  new-line<i>=0A+=0A   <i>hd-char-sequence::</i>=0A     <i>hd-char</i>=0A  =
   <i>hd-char-sequence   hd-char</i>=0A@@ -312,7 +315,7 @@ The grammar nota=
tion is described in [Grammars section](09-lexical-structure.md#=0A     \\ =
  \$   \e   \f   \n   \r   \t   \v=0A =0A   <i>nowdoc-string-literal::</i>=
=0A-    <i>b-prefix<sub>opt</sub></i> &lt;&lt;&lt;  '  <i>name</i>  '  <i>n=
ew-line  hd-char-sequence<sub>opt</sub>   new-line name</i>  ;<i><sub>opt</=
sub>   new-line</i>=0A+    <i>b-prefix<sub>opt</sub></i>  &lt;&lt;&lt;  '  =
<i>name</i>  '  <i>new-line  hd-body<sub>opt</sub>   name</i>  ;<i><sub>opt=
</sub>   new-line</i>=0A </pre>=0A =0A ###Operators and Punctuators=0A