Hi,

The ContentTypeParser does not like boundary strings that only contain digits. My .jj is not so hot, but I debugged the parser and it is returning 20 as the token.kind, whereas it seems to want 19 (QUOTEDSTRING) or 21 (ATOKEN).

I guess 20 is 'DIGITS' and the definition of digits is before ATOKEN, so it is satisfied before ATOKEN.

Should the fix be either

String value() :
{Token t;}
{
(       t=<ATOKEN>
|       t=<DIGITS>
|       t=<QUOTEDSTRING>
)
        { return t.image; }
}

or the ATOKEN definition be defined before DIGITS?

Antony



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to