Skip to content

Commit 485bfaf

Browse files
committed
Add 2024 add a accept year number
1 parent a680aed commit 485bfaf

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

.vscode/launch.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"configurations": [
3+
{
4+
"type": "lldb",
5+
"request": "launch",
6+
"sourceLanguages": [
7+
"swift"
8+
],
9+
"name": "Debug markdown-tool",
10+
"program": "${workspaceFolder:swift-markdown}/.build/debug/markdown-tool",
11+
"args": [],
12+
"cwd": "${workspaceFolder:swift-markdown}",
13+
"preLaunchTask": "swift: Build Debug markdown-tool"
14+
},
15+
{
16+
"type": "lldb",
17+
"request": "launch",
18+
"sourceLanguages": [
19+
"swift"
20+
],
21+
"name": "Release markdown-tool",
22+
"program": "${workspaceFolder:swift-markdown}/.build/release/markdown-tool",
23+
"args": [],
24+
"cwd": "${workspaceFolder:swift-markdown}",
25+
"preLaunchTask": "swift: Build Release markdown-tool"
26+
}
27+
]
28+
}

bin/check-source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# This source file is part of the Swift.org open source project
44
#
5-
# Copyright (c) 2021 Apple Inc. and the Swift project authors
5+
# Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
66
# Licensed under Apache License v2.0 with Runtime Library Exception
77
#
88
# See https://swift.org/LICENSE.txt for license information
@@ -18,7 +18,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1818

1919
function replace_acceptable_years() {
2020
# this needs to replace all acceptable forms with 'YEARS'
21-
sed -e 's/20[12][7890123]-20[12][890123]/YEARS/' -e 's/20[12][890123]/YEARS/'
21+
sed -e 's/20[12][78901234]-20[12][8901234]/YEARS/' -e 's/20[12][8901234]/YEARS/'
2222
}
2323

2424
printf "=> Checking for unacceptable language… "

0 commit comments

Comments
 (0)