com php-langspec: A `list` cannot be empty.: spec/10-expressions.md spec/19-grammar.md
| From: | Nikita Popov | Date: | Sun, 20 Nov 2016 21:46:54 +0000 |
| Subject: | com php-langspec: A `list` cannot be empty.: spec/10-expressions.md spec/19-grammar.md | ||
| Groups: | php.standards.cvs | ||
| Request: | Send a blank email to standards--cvs+get-366@lists.php.net to get a copy of this message | ||
Commit: 3447bf5d4df23527c623c58da67b43df665c7ba0
Author: Ivan Enderlin <ivan.enderlin@hoa-project.net> Wed, 16 Nov 2016 07:16:30
+0100
Committer: Nikita Popov <nikic@php.net> Sun, 20 Nov 2016 22:46:54 +0100
Parents: 256534b60943c0610ccb0f8cde160323bcbd4f7c
Branches: master
Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=3447bf5d4df23527c623c58da67b43df665c7ba0
Log:
A
list cannot be empty.
Changed paths:
M spec/10-expressions.md
M spec/19-grammar.md
Diff:
diff --git a/spec/10-expressions.md b/spec/10-expressions.md
index 39c88cf..0ced0f2 100644
--- a/spec/10-expressions.md
+++ b/spec/10-expressions.md
@@ -548,7 +548,7 @@ isset($v1, $v2, $v3); // results in FALSE
<pre>
<i>list-intrinsic:</i>
- list ( <i>list-expression-list<sub>opt</sub></i> )
+ list ( <i>list-expression-list</i> )
<i>list-expression-list:</i>
<i>unkeyed-list-expression-list</i>
diff --git a/spec/19-grammar.md b/spec/19-grammar.md
index ce47a26..4042df4 100644
--- a/spec/19-grammar.md
+++ b/spec/19-grammar.md
@@ -419,7 +419,7 @@ The grammar notation is described in [Grammars section](09-lexical-structure.md#
<i>variable-list</i> , <i>variable</i>
<i>list-intrinsic:</i>
- list ( <i>list-expression-list<sub>opt</sub></i> )
+ list ( <i>list-expression-list</i> )
<i>list-expression-list:</i>
<i>unkeyed-list-expression-list</i>