<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
(back to the topic :) )<BR>
 <BR>
somewhat reduced case:<BR>
MODULE Main;<BR>
TYPE T1 = ARRAY [0..0] OF INTEGER;<BR>
CONST const: T1 = ARRAY OF INTEGER{2};<BR>BEGIN<BR>END Main.<BR>
<BR>The problem is two global integers are overlapping.<BR>The open array size and its first element.<BR>
<BR>new source -> compiling Main.m3<BR>"..\Main.m3", line 5: warning: not used (const)<BR>m3front:cg:Init_int:NOT in_init: o: 32 s:32 value:2  <==<BR>m3front:cg:Init_int:NOT in_init: o: 32 s:32 value:1  <==<BR>m3front:cg:Init_int:NOT in_init: o: 384 s:32 value:3<BR>m3front:cg:Init_int:in_init: o: 32 s:32 value:1<BR>m3front:cg:Init_int:in_init: o: 32 s:32 value:2<BR>
 <BR>
Are these syntaxes legal?<BR>This apparent mixing of open and fixed arrays?<BR>
<BR> - Jay<BR><BR> <BR>> Date: Fri, 16 Apr 2010 12:50:48 +0200<BR>> From: wagner@elegosoft.com<BR>> To: jay.krell@cornell.edu<BR>> CC: m3devel@elegosoft.com<BR>> Subject: RE: [M3devel] release engineering 5.8: code generator error for IP address initializers<BR>> <BR>> I agree. Regular expressions in quake would be great for regression tests.<BR>> Perhaps for the next release?<BR>> <BR>> Olaf<BR>> <BR>> Quoting Jay K <jay.krell@cornell.edu>:<BR>> <BR>> > "aside":<BR>> ><BR>> > http://hudson.modula3.com:8080/job/cm3-test-m3tests-AMD64_FREEBSD/lastBuild/testReport/(root)/m3tests/p206__ARRAY_constructors_in_var_decls_using_named_open_array_types/<BR>> ><BR>> > http://hudson.modula3.com:8080/job/cm3-test-m3tests-AMD64_FREEBSD/lastBuild/testReport/(root)/m3tests/r004__negative_size_for_an_open_array/<BR>> ><BR>> ><BR>> > It'd be nice if in Quake we had something regular expression-ish, so<BR>> > that we could factor out the line numbers, such as e.g. to match<BR>> > any decimal number.<BR>> ><BR>> ><BR>> > Maybe just check for lines that start how we expect and cut them off <BR>> > at some position.<BR>> > That might be doable with today's Quake.<BR>> ><BR>> ><BR>> ><BR>> > - Jay<BR>> ><BR>> ><BR>> ><BR>> >> Date: Fri, 16 Apr 2010 11:45:09 +0200<BR>> >> From: wagner@elegosoft.com<BR>> >> To: m3devel@elegosoft.com<BR>> >> Subject: [M3devel] release engineering 5.8: code generator error <BR>> >> for IP address initializers<BR>> >><BR>> >> We also have this error, which should perhaps not be ignored?<BR>> >><BR>> >> http://hudson.modula3.com:8080/job/cm3-test-m3tests-AMD64_FREEBSD/lastBuild/testReport/(root)/m3tests/p204__IP_address_initializers<BR>> >><BR>> >> Olaf<BR>> >> --<BR>> >> Olaf Wagner -- elego Software Solutions GmbH<BR>> >> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany<BR>> >> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95<BR>> >> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin<BR>> >> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194<BR>> >><BR>> ><BR>> <BR>> <BR>> <BR>> -- <BR>> Olaf Wagner -- elego Software Solutions GmbH<BR>> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany<BR>> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95<BR>> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin<BR>> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194<BR>> <BR>                                     </body>
</html>