|
@@ -67,7 +67,7 @@ public class LineCompiler
|
|
else if(syntax.isIncOrDec())
|
|
else if(syntax.isIncOrDec())
|
|
{
|
|
{
|
|
Code change = co.get(co.size() - 1);
|
|
Code change = co.get(co.size() - 1);
|
|
- if(change.function.equals("array.get"))
|
|
|
|
|
|
+ if("array.get".equals(change.function))
|
|
{
|
|
{
|
|
change.function = "array." + syntax.getFunction();
|
|
change.function = "array." + syntax.getFunction();
|
|
}
|
|
}
|
|
@@ -148,6 +148,7 @@ public class LineCompiler
|
|
minus = false;
|
|
minus = false;
|
|
if(line.startsWith("()", pos + 1))
|
|
if(line.startsWith("()", pos + 1))
|
|
{
|
|
{
|
|
|
|
+ commaCounter.pop();
|
|
co.add(new Code(s, 0, realLine, layer));
|
|
co.add(new Code(s, 0, realLine, layer));
|
|
}
|
|
}
|
|
else
|
|
else
|