Re: [RFA] Handle BINOP_INTDIV in valarith.c

Eli Zaretskii
2008-01-16T19:11:15Z

> From: "Pierre Muller" <muller@ics.u-strasbg.fr>
> Date: Wed, 16 Jan 2008 15:13:14 +0100
>
> While trying to write a pascal expression parser test
> I came upon the problem that
> BINOP_INTDIV is not handled in value_binop function.
>
> (gdb) set lang pascal
> (gdb) print 25 div 2
> GDB does not (yet) know how to evaluate that kind of expression
>
> This patch fixes this.
>
> OK to commit?

If this patch is approved, please document this operator in the
"Pascal" node of the user manual.

TIA