git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added pdf2pdf tool
[swftools.git]
/
lib
/
as3
/
ok
/
switchtrycatch.as
diff --git
a/lib/as3/ok/switchtrycatch.as
b/lib/as3/ok/switchtrycatch.as
index
f21475e
..
1bd105d
100644
(file)
--- a/
lib/as3/ok/switchtrycatch.as
+++ b/
lib/as3/ok/switchtrycatch.as
@@
-6,20
+6,24
@@
package {
for(x=0;x<3;x++) {
switch(String(x*x)) {
case "0":
for(x=0;x<3;x++) {
switch(String(x*x)) {
case "0":
- trace("ok 1/5");break;
+ trace("ok 1/6");break;
case "1":
try {
case "1":
try {
- trace("ok 2/5");
+ trace("ok 2/6");
throw new Error();
} catch(e:Error) {
throw new Error();
} catch(e:Error) {
- trace("ok 3/5");
+ trace("ok 3/6");
}
}
+ case "2":
+ trace("ok 4/6");
+ break;
case "4":
case "4":
- trace("ok 4/5");
+ trace("ok 5/6");
case "fallthrough":
case "fallthrough":
- trace("ok 5/5");
+ trace("ok 6/6");
}
}
}
}
+ trace("[exit]");
}
}
}
}
}
}