On Sat, Oct 25, 2014 at 8:16 PM, Prathamesh Kulkarni
<bilbotheelffri...@gmail.com> wrote:
> Currently this is accepted:
> (for plus (mult div)
>   ...)
> which is incorrect. This patch puts more error-checks on the user-defined
> operator in for-pattern.

Nicely spotted issue.  But I prefer to fix it simpler like with the following
which I applied.

Richard.

2014-10-28  Richard Biener  <rguent...@suse.de>

        * genmatch.c (parser::parse_for): Properly check for already
        defined operators.


> * genmatch.c
>   (insert_operator): New function.
>   (parse_for): Call insert_operator.
>
> Thanks,
> Prathamesh

Attachment: p2
Description: Binary data

Reply via email to