diff options
author | Joel Brobecker <brobecker@gnat.com> | 2007-10-26 22:13:41 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2007-10-26 22:13:41 +0000 |
commit | df2a60d01de0957f7f63592260083c28293e62f8 (patch) | |
tree | f619b7b4fd5c6b38d36e04c4f79327c0575fccd9 /gdb | |
parent | 2c0aeda4590a505276e08fca93b7fa866cf27485 (diff) | |
download | gdb-df2a60d01de0957f7f63592260083c28293e62f8.zip gdb-df2a60d01de0957f7f63592260083c28293e62f8.tar.gz gdb-df2a60d01de0957f7f63592260083c28293e62f8.tar.bz2 |
* parse.c (prefixify_expression): Minor reformatting.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/parse.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c21dac0..03af1e0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-10-26 Joel Brobecker <brobecker@adacore.com> + + * parse.c (prefixify_expression): Minor reformatting. + 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com> * version.in: Use dot instead of dash. diff --git a/gdb/parse.c b/gdb/parse.c index 8841e59..1b9066d 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -661,8 +661,7 @@ copy_name (struct stoken token) static void prefixify_expression (struct expression *expr) { - int len = - sizeof (struct expression) + EXP_ELEM_TO_BYTES (expr->nelts); + int len = sizeof (struct expression) + EXP_ELEM_TO_BYTES (expr->nelts); struct expression *temp; int inpos = expr->nelts, outpos = 0; |