Mail Archives: djgpp/1999/06/30/12:29:12.1
>Denis Lamarche wrote:
>
>> I am trying to get bison to accept multiple parameter functions. Does
>> anyone know how to do this? I got single params to wolk by looking at
>> the calc exemple in the info files, but multiple doesnt work that way.
>
>Couldn't you just do something like this:
>
>exp: FUNC2 '(' exp ',' exp ')' {$$ = func2($3,$5);}
>
that only works if you know specifically what functions you're looking for.
if you wanted to do a more general solution (like the one in the multi-calc
example) it won't work. especially because you may have type conflicts.
-={C}=-
- Raw text -