From 738c69de376fea9625e419fcc379a10afb034bbf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 22 Oct 2002 04:45:51 +0000 Subject: [PATCH] Use C99-style bool instead of our own style. (comment change only) --- src/gram.h | 2 +- src/symtab.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gram.h b/src/gram.h index 14f54b5..1667169 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 7ad6333..61bd401 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. */ -- 2.7.4