[LLVMdev] Update pygments (syntax highlighter for documentation)

Manuel Jacob me at manueljacob.de
Wed Mar 5 17:11:11 PST 2014


Hi,

I hope this gets attention of someone who is able to update software on 
the web server.  The syntax highlighting of many code examples in 
LangRef is currently broken because an old version of pygments is used 
on the server that builds the documentation.  Significant improvements 
were done in a recent revision of pygments [1] which is not yet 
released, but the latest stable version (1.6) should at least fix the 
cases were the syntax highlighter gives up completely, like in [2].

BTW, even llvm-as is unable to parse the example there because the last 
line is wrong.

-Manuel

[1] https://bitbucket.org/birkenfeld/pygments-main/pull-request/258
[2] http://llvm.org/docs/LangRef.html#module-structure



More information about the llvm-dev mailing list