From: Tom Tromey Date: Fri, 28 Apr 2023 14:24:05 +0000 (-0600) Subject: Boolify parser_state::comma_terminates X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9095bf3b9db51eb471fbd760aef242a10603e54d;p=binutils-gdb.git Boolify parser_state::comma_terminates parser_state::comma_terminates ought to be boolean, and changing it does not require any other changes. --- diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index 2a246ff38f0..e92b4804f47 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -277,7 +277,7 @@ struct parser_state : public expr_builder /* Nonzero means stop parsing on first comma (if not within parentheses). */ - int comma_terminates; + bool comma_terminates; /* During parsing of a C expression, the pointer to the next character is in this variable. */