1. Georg Brandl
  2. pygments-main
  3. Issues
Issue #680 resolved

Typo in compiled.py and Short Question

Anonymous created an issue

I just looked into the cpp lexer code and found a typo. I guess in line 219 "psuedo" should be "pseudo".

https://bitbucket.org/birkenfeld/pygments-main/src/4550b08c3a85/pygments/lexers/compiled.py#cl-219

BTW: The reason why I was looking into that code is that when I try to change the style of the C++ curly brackets by inserting: " Punctuation: 'bold #606060',"

into my customzed style it says: NameError: name 'Punctuation' is not defined

What is the intended way to change the punctuation style?

Comments (2)

  1. Log in to comment