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.
1 parent 25e0f6c commit 1f77d98Copy full SHA for 1f77d98
expander.py
@@ -13,8 +13,6 @@
13
14
15
class Expander:
16
- local_include = re.compile(
17
- r'#include\s*"([a-z_]*(|.hpp))"\s*')
18
atcoder_include = re.compile(
19
r'#include\s*["<](atcoder/[a-z_]*(|.hpp))[">]\s*')
20
@@ -61,15 +59,8 @@ def expand_acl(self, acl_file_path: Path) -> List[str]:
61
59
name = m.group(1)
62
60
result.extend(self.expand_acl(self.find_acl(name)))
63
continue
64
-
65
- m = self.local_include.match(line)
66
- if m:
67
- name = m.group(1)
68
- result.extend(self.expand_acl(acl_file_path.parent / name))
69
- continue
70
71
result.append(line)
72
73
return result
74
75
def expand(self, source: str) -> str:
0 commit comments