This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/pytb/syntax_error_caret_code.pytb
Jean-Abou-Samra 2cb532d83d
Support error locations in Python tracebacks (#1852)
Support both single carets for syntax errors (Python 2 and 3)
and fine-grained error locations with several carets (Python 3.11+).
Previously, the carets were highlighted as operators.  This uses
a new token, Token.Punctuation.Marker.  For now, no style supports
it specifically.  In the future, styles might start differentiating
it from Token.Punctuation.

[Closes #1850.]
2021-07-06 22:20:03 +02:00

3 lines
37 B
Text