[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Nov 4 07:09:01 CET 2013


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	13/11/04 07:09:01

Modified files:
	cm3/m3-sys/m3quake/src/: QMachine.m3 
	./: QMachine.m3 
	cm3/m3-sys/cm3/src/: Main.m3 Makefile.i3 Makefile.m3 

Log message:
	Silently allow assignment to readonly variables, as long
	as the new value is equivalent; the old value is kept
	(remember -- new and old are equivalent, not necessarily
	the same value -- it is a structural/recursive equivalence)
	Does Quake allow recursive data structurs? If so, assigning
	a recursive value to or from a readonly value will recurse
	forever. The fix for that would be to hash up any references
	seen during the walk and stop upon a repeat.
	
	Evaluate -Dfoo=bar on the command line earlier
	These get written to m3make.args.
	That is why the change to allow readonly variables to be written.
	
	This way, you can say cm3 -DTARGET=foo.
	
	Consider not writing to m3make.args.




More information about the M3commit mailing list