aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-04-28 08:24:05 -0600
committerTom Tromey <tromey@adacore.com>2023-05-23 13:57:54 -0600
commit9095bf3b9db51eb471fbd760aef242a10603e54d (patch)
tree8a49761cdc7cd214796fbaebd7caaa2400d3df41
parentb5688cda0ec49822b29cecab9d08460bbf3b1a02 (diff)
downloadbinutils-9095bf3b9db51eb471fbd760aef242a10603e54d.zip
binutils-9095bf3b9db51eb471fbd760aef242a10603e54d.tar.gz
binutils-9095bf3b9db51eb471fbd760aef242a10603e54d.tar.bz2
Boolify parser_state::comma_terminates
parser_state::comma_terminates ought to be boolean, and changing it does not require any other changes.
-rw-r--r--gdb/parser-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index 2a246ff..e92b480 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. */