mirror of
https://github.com/ganelson/inform.git
synced 2024-07-05 08:34:22 +03:00
Fix for Mantis bug 1871
This commit is contained in:
parent
7a29e39a40
commit
66d2f10d33
|
@ -201,9 +201,12 @@ void Chronology::compile_action_bitmap_test(action_pattern *ap) {
|
||||||
else {
|
else {
|
||||||
anl_item *item = ActionNameLists::first_item(ap->action_list);
|
anl_item *item = ActionNameLists::first_item(ap->action_list);
|
||||||
if (L >= 2) bad_form = TRUE;
|
if (L >= 2) bad_form = TRUE;
|
||||||
if (ActionSemantics::can_be_compiled_in_past_tense(item->action_listed) == FALSE)
|
if (item->action_listed == NULL) bad_form = TRUE;
|
||||||
bad_form = TRUE;
|
else {
|
||||||
EmitCode::val_iname(K_value, RTActions::double_sharp(item->action_listed));
|
if (ActionSemantics::can_be_compiled_in_past_tense(item->action_listed) == FALSE)
|
||||||
|
bad_form = TRUE;
|
||||||
|
EmitCode::val_iname(K_value, RTActions::double_sharp(item->action_listed));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
EmitCode::up();
|
EmitCode::up();
|
||||||
if (APClauses::viable_in_past_tense(ap) == FALSE) bad_form = TRUE;
|
if (APClauses::viable_in_past_tense(ap) == FALSE) bad_form = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue