Typo in compiled.py and Short Question
Issue #680
resolved
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)
-
-
- changed status to resolved
Closes
#680: fix typo in Keyword.Pseudo token type. - Log in to comment
You will have to import the Punctuation token type from pygments.token.