Il giorno mer, 13/10/2010 alle 10.25 -0700, Tim Hatch ha scritto:
> > *** Error while highlighting:
> > KeyError: 'root'
> > (file "/home/fede/pygments/pygments/lexer.py", line 476, in
> > get_tokens_unprocessed)
>
> Ah, this is simple to fix. In the lexer you sent to the list, you
> have
>
> tokens = {'general': [...]}
>
> That should be
>
> tokens = {'root': [...]}
It works, thanks again!
Now I just have to dive into regexp and write all the tokens.
I'll inform the list when I've finished (I think and hope that I won't
have any problem from now on).
Cheers,
Federico
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.