projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
1df9e42
)
Raw versions of if and switch.
author
Edward Z. Yang
<ezyang@mit.edu>
Fri, 15 Apr 2011 15:43:41 +0000
(16:43 +0100)
committer
Edward Z. Yang
<ezyang@mit.edu>
Tue, 26 Apr 2011 15:15:07 +0000
(16:15 +0100)
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 <ezyang@mit.edu>
No differences found