TPG error when using 't' as the first letter of a token

Greg Krohn greg at invalid.invalid
Thu Nov 18 08:48:10 EST 2004


Andrew James wrote:
> Gentlemen,
> 
> I'm running into a problem whilst testing the parsing of a language I've
> created with TPG . It seems that for some reason, TPG balks when I try
> to parse an expression whose first letter is 't' (or, in fact, at any
> time when 't' is at the beginning of a token). This doesn't happen with
> any other letter (as far as I know), nor if the 'T' is capitalised.

I have no idea what TPG is, but if it's only having trouble with a lower 
case t, could it be that the t is somehow getting escaped and TPG thinks 
it's a tab character?

Just a thought.

greg



More information about the Python-list mailing list