spf-discuss
[Top] [All Lists]

Re: When does the record end?

2005-07-20 18:13:29
Marc Chametzky wrote:
 
my implementation goes left-to-right, but if it's already
found a match, then it only looks at the syntax of the
remaining tokens. Upon finding "moo" at the end, it changes
the final result to PermError.

So you're following the second strategy ("MAYbe not"), and when
it didn't reach the "EOF" you switch to the first MAY-strategy
for the rest of the record.  Perfectly legal.

This MAY MUSTard is the compressed result of months of flame
wars between libspf vs. libspf2 and unknown mechanisms vs.
only unknown modififiers, what you do is precisely what Wayne
wanted, but he couldn't say it directly in the spec. ;-)  Bye