« Bugzilla Issues Index
#1468 — FunctionBody grammar is not correct
- bug_id:
1468
- creation_ts:
2013-05-05 11:43:00 -0700
- short_desc:
FunctionBody grammar is not correct
- delta_ts:
2015-07-10 08:34:17 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 14: March 8, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
WORKSFORME
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
erik.arvidsson
- commentid:
3705
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2013-05-05 11:43:16 -0700
13.1 Function Definitions
FunctionBody :
StatementListopt
StatementList only consists of Statement. A FunctionBody should be able to contain Statement, Declaration or BreakableStatement
- commentid:
3706
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-05-05 11:55:24 -0700
12.1 defines
StatementListItem :
Statement
Declaration
and clause 12 defines
Statement :
... (a bunch of stuff)
BreakableStatement
... (a bunch of stuff)