[M3devel] set operations parse.c?

Jay K jay.krell at cornell.edu
Thu Mar 4 01:45:07 CET 2010


The flag to setop is maybe yucky, but I think
 static void m3cg_set_eq (void) { m3cg_set_eq_or_ne(EQ_EXPR); }   
 static void m3cg_set_ne (void) { m3cg_set_eq_or_ne(NE_EXPR); } 


 

is still good.
There are two functions *very* similar in functionality that vary in only one token.

 

 

The counterpoint would be, perhaps, if one is proficient enough

in maintaining parse.c, that the two functions are small and

one could write them up in a flash without referring to examples.

One needs that level of proficiency to make more significant changes anyway.

(I'll be removing the set_singleton/member functions shortly, assuming

reasonable codegen.)

 


 - Jay

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100304/b0056ec1/attachment-0001.html>


More information about the M3devel mailing list