Replace "return" with "break"
This replaces a "return" with a "break" in rust_print_subexp, for consistency. ChangeLog 2017-05-12 Tom Tromey <tom@tromey.com> * rust-lang.c (rust_print_subexp): Replace "return" with "break".
This commit is contained in:
parent
be3f100674
commit
256afbc259
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2017-05-12 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* rust-lang.c (rust_print_subexp): Replace "return" with "break".
|
||||||
|
|
||||||
2017-05-09 Yao Qi <yao.qi@linaro.org>
|
2017-05-09 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* regcache.c: Include <forward_list>.
|
* regcache.c: Include <forward_list>.
|
||||||
|
|
|
@ -2021,7 +2021,7 @@ rust_print_subexp (struct expression *exp, int *pos, struct ui_file *stream,
|
||||||
print_subexp (exp, pos, stream, PREC_SUFFIX);
|
print_subexp (exp, pos, stream, PREC_SUFFIX);
|
||||||
fprintf_filtered (stream, ".%d", tem);
|
fprintf_filtered (stream, ".%d", tem);
|
||||||
}
|
}
|
||||||
return;
|
break;
|
||||||
|
|
||||||
case OP_RUST_ARRAY:
|
case OP_RUST_ARRAY:
|
||||||
++*pos;
|
++*pos;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue