[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Wed Feb 13 22:42:57 CET 2008


I've noticed a few other things surrounding constructors, etc.:

1) Taking SUBARRAY of an imported CONST array breaks the compiler.

2) ARRAY constructors in variable declarations that use named open  
array types also seem to be broken.

I'll need to construct testcases for these.

On Feb 13, 2008, at 10:30 PM, Olaf Wagner wrote:

> CVSROOT:	/usr/cvs
> Changes by:	wagner at birch.	08/02/13 22:30:42
>
> Modified files:
> 	cm3/m3-sys/m3tests/: PkgTags
> 	cm3/m3-sys/m3tests/src/: m3makefile
> Added files:
> 	cm3/m3-sys/m3tests/src/p2/p204/: Main.m3 m3makefile stderr.build
> 	                                 stderr.pgm stdout.build
> 	                                 stdout.pgm
>
> Log message:
> 	add p204 -- ip address initializers --
> 	
> 	This currently leads to code generation errors. Initializers in
> 	CONST and VAR sections seem to work, in the module body they crash
> 	the compiler.
> 	
> 	added: m3tests/src/p2/p204/Main.m3
> 	added: m3tests/src/p2/p204/m3makefile
> 	added: m3tests/src/p2/p204/stderr.build
> 	added: m3tests/src/p2/p204/stderr.pgm
> 	added: m3tests/src/p2/p204/stdout.build
> 	added: m3tests/src/p2/p204/stdout.pgm
> 	modified: m3tests/src/m3makefile




More information about the M3commit mailing list