1
0
Fork 0
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:
David Kinder 2023-06-14 13:14:44 +01:00 committed by GitHub
commit 96f7a74275
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;