2013-02-13 Pedro Alves <palves@redhat.com>

Hafiz Abid Qadeer  <abidh@codesourcery.com>

	* c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
This commit is contained in:
Hafiz Abid Qadeer 2013-02-13 10:41:11 +00:00
parent d63f4e6dff
commit a016fc87eb
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-02-13 Pedro Alves <palves@redhat.com>
Hafiz Abid Qadeer <abidh@codesourcery.com>
* c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
2013-02-12 Tom Tromey <tromey@redhat.com>
PR symtab/11464:

View File

@ -732,6 +732,7 @@ const struct op_print c_op_print_tab[] =
{"/", BINOP_DIV, PREC_MUL, 0},
{"%", BINOP_REM, PREC_MUL, 0},
{"@", BINOP_REPEAT, PREC_REPEAT, 0},
{"+", UNOP_PLUS, PREC_PREFIX, 0},
{"-", UNOP_NEG, PREC_PREFIX, 0},
{"!", UNOP_LOGICAL_NOT, PREC_PREFIX, 0},
{"~", UNOP_COMPLEMENT, PREC_PREFIX, 0},