"Thomas G. Lockhart" wrote:
> > Thanks. That was what i was looking for. It's been real useful!
> > I also put this other line to handle the inverse case (NULL = field)
> >
> > | NULL_P '=' a_expr
> > { $$ = makeA_Expr(ISNULL, NULL, $3, NULL); }
>
> This leads to a shift/reduce conflict in yacc. I've been working on this
> a bit, and have modified gram.y (so far just in my local copy) to allow
> Jose's syntax and to allow the same syntax in a constraint declaration.
> But this variant may be tougher to do correctly...
I don't exactly know what you mean, but it's working fine here.
--
C'ya!
Valerio Santinelli a.k.a. TANiS
[tanis@mediacom.it]+:+[http://www.mediacom.it/~tanis]