mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 07:43:03 +00:00
Use C99-style bool instead of our own style.
(comment change only)
This commit is contained in:
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
RULES[R].line -- the line where R was defined.
|
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).
|
away by reduce).
|
||||||
|
|
||||||
The right hand side is stored as symbol numbers in a portion of
|
The right hand side is stored as symbol numbers in a portion of
|
||||||
|
|||||||
@@ -143,8 +143,8 @@ void symbols_new (void);
|
|||||||
/* A function to apply to each symbol. */
|
/* A function to apply to each symbol. */
|
||||||
typedef bool (*symbol_processor) (symbol_t *);
|
typedef bool (*symbol_processor) (symbol_t *);
|
||||||
|
|
||||||
/* Apply PROCESSOR to all the symbols. PROCESSOR must return TRUE: on
|
/* Apply PROCESSOR to all the symbols. PROCESSOR must return true: on
|
||||||
FALSE, the processing stops. */
|
false, the processing stops. */
|
||||||
void symbols_do (symbol_processor processor, void *processor_data);
|
void symbols_do (symbol_processor processor, void *processor_data);
|
||||||
|
|
||||||
/* Free all the memory allocated for symbols. */
|
/* Free all the memory allocated for symbols. */
|
||||||
|
|||||||
Reference in New Issue
Block a user