From: Paul Eggert Date: Tue, 22 Oct 2002 04:45:51 +0000 (+0000) Subject: Use C99-style bool instead of our own style. X-Git-Tag: BISON-1_875~408 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/738c69de376fea9625e419fcc379a10afb034bbf Use C99-style bool instead of our own style. (comment change only) --- diff --git a/src/gram.h b/src/gram.h index 14f54b52..1667169f 100644 --- a/src/gram.h +++ b/src/gram.h @@ -76,7 +76,7 @@ RULES[R].line -- the line where R was defined. - RULES[R].useful -- TRUE iff the rule is used (i.e., FALSE if thrown + RULES[R].useful -- true iff the rule is used (i.e., false if thrown away by reduce). The right hand side is stored as symbol numbers in a portion of diff --git a/src/symtab.h b/src/symtab.h index 7ad63333..61bd4017 100644 --- a/src/symtab.h +++ b/src/symtab.h @@ -143,8 +143,8 @@ void symbols_new (void); /* A function to apply to each symbol. */ typedef bool (*symbol_processor) (symbol_t *); -/* Apply PROCESSOR to all the symbols. PROCESSOR must return TRUE: on - FALSE, the processing stops. */ +/* Apply PROCESSOR to all the symbols. PROCESSOR must return true: on + false, the processing stops. */ void symbols_do (symbol_processor processor, void *processor_data); /* Free all the memory allocated for symbols. */