Commit 735c7646 authored by Ludovic Apvrille's avatar Ludovic Apvrille

Correcting bug ticket 163

parent 4e906a1e
......@@ -52,6 +52,8 @@ make clean Clean the repository from compilation artifacts.
make ultraclean Clean the repository from binaries and compilation artifacts.
make ttooljavac Build TTool only with javac
make ttoolnotest Build TTool with gradle, but do not execute test. Performs the install
make allnotest Builld all apps, but do not execute tests. Performs the install
Other targets:
......@@ -129,6 +131,9 @@ all: ttool launcher ttool-cli graphminimize graphshow tiftranslator tmltranslato
allnotest: GRADLE_OPTIONS += $(GRADLE_NO_TEST)
allnotest: ttool launcher ttool-cli graphminimize graphshow tiftranslator tmltranslator rundse remotesimulator webcrawler install
ttoolnotest: GRADLE_OPTIONS += $(GRADLE_NO_TEST)
ttoolnotest: ttool install
ttool: $(TTOOL_BINARY)
ttoolnotest:
......
......@@ -110,7 +110,7 @@ public class AvatarSyntaxChecker {
IntExpressionEvaluator iee = new IntExpressionEvaluator();
//TraceManager.addDev("Evaluating int:" + act);
//double result = iee.getResultOf(act);
double result = iee.getResultOf(act);
if (iee.getError() != null) {
//TraceManager.addDev("Error: " + iee.getError());
return -1;
......@@ -186,6 +186,7 @@ public class AvatarSyntaxChecker {
String action = _expr.substring(index0 + 1, _expr.length()).trim();
if (aa.isInt()) {
//TraceManager.addDev("Testing action+" + action);
return isAValidIntExpr(_as, _ab, action);
//return parse(_as, _ab, "actionnat", action);
} else if (aa.isBool()) {
......
......@@ -1968,6 +1968,8 @@ public class AvatarDesignPanelTranslator {
}
else {
// Variable assignment
TraceManager.addDev("Action=" + actionText);
error = AvatarSyntaxChecker.isAValidVariableExpr( block.getAvatarSpecification(), block, actionText);
if ( error < 0 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment