Yep! I'll push this patch then.
Edward
Excerpts from Simon Marlow's message of Wed Apr 20 05:25:27 -0400 2011:
> On 19/04/2011 22:53, Edward Z. Yang wrote:
> > This makes the following statements valid C--, which uses the
> > block ID directly rather than generating an anonymous block:
> >
> >
On 19/04/2011 22:53, Edward Z. Yang wrote:
This makes the following statements valid C--, which uses the
block ID directly rather than generating an anonymous block:
if (expr) goto foo;
switch expr {
case 0: goto foo;
case 1: goto bar;
}
Looks fine to me - did
This makes the following statements valid C--, which uses the
block ID directly rather than generating an anonymous block:
if (expr) goto foo;
switch expr {
case 0: goto foo;
case 1: goto bar;
}
Signed-off-by: Edward Z. Yang
---
compiler/cmm/CmmParse.y | 28 +++