Skip to content

Commit

Permalink
Don't fix Sphinx regex anymore
Browse files Browse the repository at this point in the history
I assume it has been fixed on the Sphinx side a long time ago. It was
reported a long time ago anyway.

For #236.
  • Loading branch information
Michael Jones committed Jan 15, 2016
1 parent c78a410 commit 6c62758
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions breathe/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,12 @@
from docutils.parsers.rst.directives import unchanged_required, unchanged, flag
from sphinx.writers.text import TextWriter
from sphinx.builders.text import TextBuilder
from sphinx.domains import cpp

import os
import fnmatch
import re
import subprocess

# Somewhat outrageously, reach in and fix a Sphinx regex
cpp._identifier_re = re.compile(r'(~?\b[a-zA-Z_][a-zA-Z0-9_]*)\b')


class NoMatchingFunctionError(BreatheError):
pass
Expand Down

0 comments on commit 6c62758

Please sign in to comment.