From 9095bf3b9db51eb471fbd760aef242a10603e54d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 28 Apr 2023 08:24:05 -0600 Subject: [PATCH] Boolify parser_state::comma_terminates parser_state::comma_terminates ought to be boolean, and changing it does not require any other changes. --- gdb/parser-defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.30.2