<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Tony, with the recent changes:<BR>
 <BR>
1)<BR>
***<BR>*** runtime error:<BR>***    An array subscript was out of range.<BR>***    file "..\src\misc\Scanner.m3", line 351<BR>***<BR>
Stack trace:<BR>   FP         PC      Procedure<BR>---------  ---------  -------------------------------<BR> 0x12f774   0x49c8e2  NoteReserved + 0x44 in ..\src\misc\Scanner.m3<BR> 0x12f7ac   0x4cb247  Define + 0xf9 in ..\src\values\Procedure.m3<BR> 0x12f7d4   0x517b7b  Initialize + 0xd5 in ..\src\builtinOps\Cas.m3<BR> 0x12f7e8   0x4b0320  Initialize + 0x30 in ..\src\builtinOps\BuiltinOps.m3<BR> 0x12f804   0x499341  Initialize + 0x9a in ..\src\misc\M3Front.m3<BR> 0x12f834   0x498f81  ParseImports + 0x151 in ..\src\misc\M3Front.m3<BR> 0x12f860   0x40a6eb  Pass0_CheckImports + 0xa4 in ..\src\Builder.m3<BR> 0x12f8ac   0x409e87  RunM3 + 0x215 in ..\src\Builder.m3<BR> 0x12f8e8   0x40862c  PushOneM3 + 0x10a in ..\src\Builder.m3<BR> 0x12f918   0x4084f9  CompileM3 + 0x21d in ..\src\Builder.m3<BR>.........  .........  ... more frames ...<BR><BR>
 <BR>
2) If I fix that by removing cas/casp more completely:<BR>
<BR> <BR>
C:\dev2\cm3.2\scripts\python>\bin\x86\cdb \cm3\bin\cm3<BR>
(254c.2440): Access violation - code c0000005 (first chance)<BR>cm3!RTType__HashBrand+0x41:<BR>0064630a 8a5600          mov     dl,byte ptr [esi]          ds:0023:00ebb000=??<BR>0:000> r esi<BR>esi=00ebb000<BR>0:000> db @esi - 4<BR>00ebaffc  00 00 00 00 ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ....????????????<BR>0:000> .lines<BR>Line number information will be loaded<BR>0:000> k<BR>ChildEBP RetAddr<BR>0012fe4c 00644c90 cm3!RTType__HashBrand+0x41 [..\src\runtime\common\RTType.m3 @<BR>815]<BR>0012fe70 00644db2 cm3!RTType__NoteBrand+0x1b [..\src\runtime\common\RTType.m3 @<BR>150]<BR>0012fe94 00634928 cm3!RTTypeSRC__AddTypecell+0xa3 [..\src\runtime\common\RTType.<BR>m3 @ 170]<BR>0012fec4 006346d1 cm3!RTLinker__DeclareModuleTypes+0x101 [..\src\runtime\common\<BR>RTLinker.m3 @ 287]<BR>0012fef8 00634227 cm3!RTLinker__FixTypes+0x8a [..\src\runtime\common\RTLinker.m3<BR> @ 234]<BR>0012ff0c 006342e5 cm3!RTLinker__AddUnitI+0xe2 [..\src\runtime\common\RTLinker.m3<BR> @ 113]<BR>0012ff30 00633f72 cm3!RTLinker__AddUnit+0xa1 [..\src\runtime\common\RTLinker.m3<BR>@ 122]<BR>0012ff54 00401029 cm3!RTLinker__InitRuntime+0x92 [..\src\runtime\common\RTLinker<BR>.m3 @ 42]<BR>0012ff7c 00675fda cm3!main+0x29 [_m3main.mc @ 3]<BR>0012ffc0 7c817077 cm3!__tmainCRTStartup+0x10f [f:\dd\vctools\crt_bld\self_x86\cr<BR>t\src\crtexe.c @ 582]<BR>0012fff0 00000000 kernel32!BaseProcessStart+0x23<BR>0:000><BR>
 <BR>
looks like maybe an off by one problem?<BR>
Since the pointer is near valid memory?<BR>
Any ideas?<BR>
I'll poke around.<BR>
 <BR>
 <BR>
Going back to the release branch versions fixes this.<BR>
 <BR>
 <BR>
 - Jay<BR>                                     </body>
</html>