Created
July 23, 2012 13:27
-
-
Save IQAndreas/3163586 to your computer and use it in GitHub Desktop.
Difference between the FDT parser and the Flex Compiler creating unnecessary error message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.asm | |
{ | |
public class Args | |
{ | |
public static const REGISTER:String = "REGIS"; | |
public static const CONSTANT:String = "CONST"; | |
public static const ADDRESS:String = "ADDRS"; | |
public static const DOUBLE_REGISTER:String = "2RGIS"; | |
}; // Unexpected token ; at line 12 column 3. | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vm | |
{ | |
import flash.utils.ByteArray; | |
internal function uintsToByteArray ( data:Vector.<uint> ) : ByteArray | |
{ | |
var out:ByteArray = new ByteArray (); | |
out.length = data.length; | |
for ( var i:uint = 0; i < data.length; i ++ ) | |
out.writeByte ( ( data [ i ] as int ) - 128 ); | |
return out; | |
}; // Unexpected token ; at line 16 column 3. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment