<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica">Hi All,</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica">I noticed when merging the base and Tweak compilers that Andreas wrote different versions of Parser&gt;&gt;method:context:encoder: and Parser&gt;&gt;pattern:inContext: for the Tweak compiler (in CParser) that &quot;do the right thing&quot;.&nbsp; His versions in CParser bind the arguments in pattern:inContext: as each arg name is encountered.&nbsp; The versions in Parser bind the arguments in Parser&gt;&gt;method:context:encoder: all in one go *after* pattern:inContext: has parsed all arguments.&nbsp; This means that if there is an error (e.g. use the same arg name twice) the Parser methods insert the error at the wrong point since prevMark is now always pointing to the last argument not necessarily to the argument that is repeated.</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica">yes, you guessed it I just repeated an argument name and was confused as hell for a while since the damn compiler pointed to the error at the wrong place.</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica">So I clearly want to replace the methods in Parser with Andreas&#39; mo&#39; betta ones in CParser.&nbsp; The annoying question is why did anyone change the original Parser methods to do the wrong thing in the first place?&nbsp; Until I know that I have a nagging doubt that I&#39;m missing something.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica">I&#39;ve gone through the update history up to version 3.6 and don&#39;t see the new behaviour in Parser in any update there-in.&nbsp; Anyone know why this changed or can point me to where to look next?</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica">AdvThanksance</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica">Eliot</p>