On Fri, Apr 19, 2002 at 12:17:43PM -0700, Brent Bice wrote: > Yup. That was what led me to try frame[54:4] == ... So then, I guess > there are two problems. The syntax checker ought to spit out a syntax > error for "frame[54] == 55:44:33:22" (right?)
Well, not the syntax checker; that'd be done by the semantics checker. But I'm not certain whether it should; the comparison operator for byte strings can compare byte strings with unequal lengths - strings with unequal lengths aren't equal, and shorter strings are less than longer strings. So I guess the idea is that you should be able to compare unequal-length byte strings; the question is whether comparisons that will *always* fail should get errors when the expression is compiled. I'd be inclined to say "yes" - Gilbert? Ed? Anybody else? > and also, the > Match->Selected code needs to formulate the newer style of display > filter, right? Or, rather, the routine that the "Match->Selected" code calls needs to do that; I've checked in a change to do that.