Skip to content

Commit

Permalink
assignment vs load will be tricky
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoKittie committed Jan 12, 2018
1 parent 93f0906 commit 76c6174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/com/community/ByteCodeCompiler.java
Expand Up @@ -202,6 +202,7 @@ public static ArrayList<Byte> compile(Primitives.AST node){
* Assignment operators
*/
case NODE_VAR_CONST:
// Here we have to detect if it will be an assignment or a read! Best we walk up the AST tree one level and check if the parent is an assignment operator!
break;
case NODE_ASSIGN:
break;
Expand Down
2 changes: 1 addition & 1 deletion src/com/community/EnigmaOpCode.java
Expand Up @@ -37,7 +37,7 @@ public enum EnigmaOpCode {
ENIGMA_ARRAY_ULONG_STORE((byte) 0x0b, 2, 0, "array_ulong_store"),
ENIGMA_ARRAY_FLOAT_STORE((byte) 0x0c, 2, 0, "array_float_store"),
ENIGMA_ARRAY_DOUBLE_STORE((byte) 0x0d, 2, 0, "array_double_store"),
ENIGMA_ARRAY_CUSTOM_STORE((byte) 0x59, 3, 0, "array_load"),
ENIGMA_ARRAY_CUSTOM_STORE((byte) 0x59, 3, 0, "array_store"),

// Store other stuff
ENIGMA_SUBMIT_SZ_STORE((byte) 0x0e, 2, 0, "submit_sz"),
Expand Down

0 comments on commit 76c6174

Please sign in to comment.