mirror of
https://github.com/ganelson/inform.git
synced 2024-07-02 23:14:57 +03:00
Merge pull request #102 from DavidKinder/master
bool is a type in C23, so do not use as an argument name
This commit is contained in:
commit
96f7a74275
|
@ -32,13 +32,13 @@ void RTInferences::index(package_request *pack, int hl, inference_subject *infs,
|
|||
state of being boolean, and the given certainty levels:
|
||||
|
||||
=
|
||||
void RTInferences::index_provided(OUTPUT_STREAM, inference_subject *infs, int bool, int c, char *cert, int brief) {
|
||||
void RTInferences::index_provided(OUTPUT_STREAM, inference_subject *infs, int boolean, int c, char *cert, int brief) {
|
||||
int f = TRUE;
|
||||
property *prn;
|
||||
LOOP_OVER(prn, property) {
|
||||
if (RTProperties::is_shown_in_index(prn) == FALSE) continue;
|
||||
if (RTProperties::get_indexed_already_flag(prn)) continue;
|
||||
if (Properties::is_either_or(prn) != bool) continue;
|
||||
if (Properties::is_either_or(prn) != boolean) continue;
|
||||
|
||||
int state = PropertyInferences::has_or_can_have(infs, prn);
|
||||
if (state != c) continue;
|
||||
|
|
Loading…
Reference in a new issue