We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Tools/c-analyzer
1 parent b1b375e commit a930d37Copy full SHA for a930d37
Tools/c-analyzer/c_parser/parser/_delim.py
@@ -17,11 +17,11 @@ def parse(text, anon_name):
17
yield result
18
19
20
-DELIMITER = textwrap.dedent(rf'''
+DELIMITER = textwrap.dedent(r'''
21
(
22
(?:
23
[^'"()\[\]{};]*
24
- {_ind(STRING_LITERAL, 3)}
+ %s
25
}*
26
[^'"()\[\]{};]+
27
)? # <before>
@@ -34,7 +34,7 @@ def parse(text, anon_name):
34
[)\]};]
35
) # <close>
36
)?
37
- ''')
+ ''' % _ind(STRING_LITERAL, 3))
38
DELIMITER_RE = re.compile(DELIMITER, re.VERBOSE)
39
40
_HANDLERS = {
0 commit comments