Alas, it was too good to be true, and I had to track down and debug something.

Damn actionscript. "for" vs "for each" and each one uses (bla in foo), which
is also a statement in itself. That and the optional semicolons. I bet
the parser for the compiler was fun to write.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5342 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2008-08-26 00:53:21 +00:00
parent 9de956e067
commit 8abb5f96b0
+1 -1
View File
@@ -120,7 +120,7 @@ public class Log
*/
public static function setLevels (settingString :String) :void
{
for (var module :String in settingString.split(";")) {
for each (var module :String in settingString.split(";")) {
var setting :Array = module.split(":");
_setLevels[setting[0]] = stringToLevel(String(setting[1]));
}