1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-11-04 18:08:31 -08:00

Remove backslashes that will be obsolete.

This commit is contained in:
Danila Fedorin 2017-07-27 15:02:13 -07:00
parent f7da896fc0
commit a7c2084254

View File

@ -23,7 +23,7 @@ public class StandardPlugin extends Plugin {
@Override
public void onEnable() {
registerOperator("\\+", new Operator(OperatorAssociativity.LEFT, 0, new Function() {
registerOperator("+", new Operator(OperatorAssociativity.LEFT, 0, new Function() {
@Override
protected boolean matchesParams(NumberInterface[] params) {
return params.length >= 1;
@ -51,7 +51,7 @@ public class StandardPlugin extends Plugin {
}
}));
registerOperator("\\*", new Operator(OperatorAssociativity.LEFT, 1, new Function() {
registerOperator("*", new Operator(OperatorAssociativity.LEFT, 1, new Function() {
@Override
protected boolean matchesParams(NumberInterface[] params) {
return params.length >= 1;