mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
Update spec link pattern to reflect impl
signature changes
Relevant to #7416
This commit is contained in:
parent
aee011a524
commit
20c0af8b7d
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ def check_spec(file_name, contents):
|
||||||
raise StopIteration
|
raise StopIteration
|
||||||
file_name = os.path.relpath(os.path.splitext(file_name)[0], base_path)
|
file_name = os.path.relpath(os.path.splitext(file_name)[0], base_path)
|
||||||
patt = re.compile("^\s*\/\/.+")
|
patt = re.compile("^\s*\/\/.+")
|
||||||
pattern = "impl<'a> %sMethods for &'a %s {" % (file_name, file_name)
|
pattern = "impl %sMethods for %s {" % (file_name, file_name)
|
||||||
contents = contents.splitlines(True)
|
contents = contents.splitlines(True)
|
||||||
brace_count = 0
|
brace_count = 0
|
||||||
in_impl = False
|
in_impl = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue