From: Shamus Hammons Date: Sat, 9 Nov 2013 15:01:57 +0000 (-0600) Subject: Fixed subtle bug in expr(). X-Git-Tag: 1.3.0~7 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=commitdiff_plain;h=75969398d9b8a9f82ea76fc4e4cbfb97b11160a4;hp=75969398d9b8a9f82ea76fc4e4cbfb97b11160a4 Fixed subtle bug in expr(). Basically, expr() was looking at the token following the one it was looking at and bypassing the longer parse path if it found an EOL token there. Problem is, some tokens have follow on values and so can be considered compound tokens. In this case, the EOL token codes to 101, having a constant with a value of 101 will not evaluate correctly in this case as the CONST token is a compound token. The short of this is that making assumptions is BAD! Don't do it! It WILL come around to bite you in the ass eventually, in the form of subtle bugs that are difficult to chase down. Assume nothing! ---