target: avoid using interp global variable

Adds 'interp' to target_event_action structure to avoid using the
global variable of the same name.
This commit is contained in:
Zachary T Welch
2009-11-29 18:21:59 -08:00
parent e1ee270265
commit 8e8a359af2
2 changed files with 11 additions and 9 deletions

View File

@@ -222,6 +222,7 @@ enum target_event
struct target_event_action {
enum target_event event;
Jim_Interp *interp;
struct Jim_Obj *body;
int has_percent;
struct target_event_action *next;