raise an TemplateSyntaxError exception with an argument string "%r received an invalid token: %r", where '%r' is replaced with,
raise TemplateSyntaxError ( "%r received an invalid token: %r" % ( bits [ 0 ] , remaining_bits [ 0 ] ) )