Skip to content

Commit a5bfff4

Browse files
committed
Fix for usage of trigger is_present in Python. Minor adjustments after rebase master
1 parent 8cbbb9c commit a5bfff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtext/org.icyphy.linguafranca/src/lib/Python/pythontarget.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ PyObject* convert_C_action_to_py(void* action) {
909909

910910
// Fill in the Python action struct
911911
((generic_action_capsule_struct*)cap)->action = capsule;
912-
((generic_action_capsule_struct*)cap)->is_present = trigger->is_present;
912+
((generic_action_capsule_struct*)cap)->is_present = trigger->status;
913913

914914
// If token is not initialized, that is all we need to set
915915
if (trigger->token == NULL) {

0 commit comments

Comments
 (0)