mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-12 16:27:40 +00:00
commit 0a3f5772b9450672fb033a6306fbf7fb0d972d5c Author: Skydark Chen <skydark2@gmail.com> Date: Fri Nov 27 10:54:46 2015 +0800 Fix for-each iterator It should not pop from stack at the end while compiling. commit 07c057e7502eb51ab3e6088eb2aee9ceb7d07576 Author: Skydark Chen <skydark2@gmail.com> Date: Tue Nov 24 11:45:07 2015 +0800 Fix non-int type arithmetic compare It was an error if we compare two double/float/long in scripts since the bytecode compiled in ExpressionArithmeticCompare.java were ICMPEQ/ICMPNE/... which assumed that two expressions had an int type. commit941b32c8beAuthor: Skydark Chen <skydark2@gmail.com> Date: Sun Nov 15 21:24:25 2015 +0800 Fix ZenGetter and ZenSetter annotations Before this commit, ZenGetter and ZenSetter in ZenExpansion could not be defined. Since ZenExpansion requires static methods to work, but the getters and setters will be invoked as virtual. commitbd55380b5aAuthor: Skydark Chen <skydark2@gmail.com> Date: Sun Nov 15 19:58:21 2015 +0800 Fix block comments regexp Before this commit, comments like this could not be recognized: /* blah blah * blah / <- this slash failed */ commit2924666ad4Author: Skydark Chen <skydark2@gmail.com> Date: Sun Nov 15 19:44:02 2015 +0800 Add support to return void in a function * statement `return;` is valid now. * functions return void by default, an explicit return is not necessary now commit33c2bd0c94Author: Skydark Chen <skydark2@gmail.com> Date: Sat Nov 14 13:48:53 2015 +0800 Add unicode support for zenscripts The unicode characters can be recognized in strings and comments. The encoding of scripts should be utf-8. commit89b2548d02Author: Skydark Chen <skydark2@gmail.com> Date: Thu Nov 12 23:39:25 2015 +0800 Fix nested foreach loop cause out of index