[rfc-i] ABNF (RFC2234)
Bill Fenner
fenner at research.att.com
Wed Feb 23 15:34:23 PST 2005
>1: a = %D27-30
> ^
>1:5: error: Illegal character '%' - skipping to end of line
Thanks for the bug report - my scanner wasn't case-insensitive for
%[bdx]. My error recovery for bad characters in a literal is
not so hot at the moment; e.g., it parses
c = %X9Z-dc as "c = %X9" "Z-dc" and then gripes that concatenation
requires whitespace (thinking that you're concatenating %x9 and
the rule z-dc).
I've updated the CGI (and it now has my heuristics for indented rules
too).
Bill
More information about the rfc-interest
mailing list