Quoting skaller <[EMAIL PROTECTED]>: > On Sun, 2007-07-15 at 10:48 +0200, Emmanuel Onzon wrote: >> Quoting skaller <[EMAIL PROTECTED]>: > >> >> With the current version of dypgen, the new non terminals are assigned >> the global merge function and it is not possible to make this different. > > In Felix almost all the nonterminals will be new .. %merge is > not really much use .. > >> In fact, the merge functions should not be associated to each non >> terminal but rather to each constructor of the type obj. > > ["associated with" "connected to" "joined by" .. English is weird]
Thanks for that :), "associated to" is all over my manual (15 occurrences). > >> And then when >> a new non terminal is added its merge function would be automatically >> the merge function of its associated constructor. >> >> I'll see if I can do that. > > But that would fix the problem for me (since all the user nonterminals > have the same constructor, Obj_sexpr) It was easy to do, it is almost done. > > -- > John Skaller <skaller at users dot sf dot net> > Felix, successor to C++: http://felix.sf.net > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language