mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fixed a priority error that caused operator++ and operator-> to not be parsed properly in the C++ domain. This fixes #861
This commit is contained in:
@@ -34,10 +34,10 @@ _template_arg_re = re.compile(r'(%s)|([^,>]+)' % _string_re.pattern, re.S)
|
||||
_operator_re = re.compile(r'''(?x)
|
||||
\[\s*\]
|
||||
| \(\s*\)
|
||||
| [!<>=/*%+|&^-]=?
|
||||
| \+\+ | --
|
||||
| (<<|>>)=? | ~ | && | \| | \|\|
|
||||
| ->\*? | \,
|
||||
| [!<>=/*%+|&^-]=?
|
||||
| (<<|>>)=? | ~ | && | \| | \|\|
|
||||
''')
|
||||
|
||||
_id_shortwords = {
|
||||
|
||||
Reference in New Issue
Block a user