Skip to content

Commit

Permalink
interpreter code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
PastorGL committed Jan 29, 2025
1 parent 24f97f2 commit f797a0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public static Object eval(Object key, DataRecord<?> rec, List<ExprItem<?>> item,
top = ((StackGetter) ei).get(stack);
continue;
}
// special cases
// special case
if (ei instanceof RecItem) {
top = ((RecItem) ei).get(stack);
Boolean b = (Boolean) top.pop();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private StatementItem(Statement statement, String controlVar, List<Expressions.E

@Override
public String toString() {
return statement.name();
return statement.name() + ((controlVar != null) ? " $" + controlVar : "");
}
}

Expand Down

0 comments on commit f797a0a

Please sign in to comment.