Commit 02be8c3b authored by Sarah Grebing's avatar Sarah Grebing

Bugfix variablehooks

parent db44f34a
...@@ -212,4 +212,4 @@ QUESTION_MARK: '?'; ...@@ -212,4 +212,4 @@ QUESTION_MARK: '?';
DIGITS : DIGIT+ ; DIGITS : DIGIT+ ;
fragment DIGIT : [0-9] ; fragment DIGIT : [0-9] ;
ID : ([a-zA-Z]|'#') ([_a-zA-Z0-9] | '.' | '\\'| '#')*; ID : ([a-zA-Z]|'#'|'_') ([_a-zA-Z0-9] | '.' | '\\'| '#')*;
\ No newline at end of file \ No newline at end of file
...@@ -39,7 +39,8 @@ public abstract class DefaultAssignmentHook<T> implements VariableAssignmentHook ...@@ -39,7 +39,8 @@ public abstract class DefaultAssignmentHook<T> implements VariableAssignmentHook
Variable<T, S> variable = (Variable<T, S>) variables.get(variableName); Variable<T, S> variable = (Variable<T, S>) variables.get(variableName);
return variable.setter.apply(data, value); return variable.setter.apply(data, value);
} }
return true; //@AW: TODO was true: Why?
return false;
} }
......
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