Skip to content

Commit 0d62ed2

Browse files
committed
[line-directive] Add code header
Add code headers missing from `utils/line-directive`, as per the template from #762.
1 parent 1f165b4 commit 0d62ed2

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

utils/line-directive

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env python
2-
#convert line numbers in error messages according to "line directive" comments
2+
# line-directive.py - Transform line numbers in error messages -*- python -*-
3+
#
4+
# This source file is part of the Swift.org open source project
5+
#
6+
# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
7+
# Licensed under Apache License v2.0 with Runtime Library Exception
8+
#
9+
# See http://swift.org/LICENSE.txt for license information
10+
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11+
#
12+
# ----------------------------------------------------------------------------
13+
#
14+
# Converts line numbers in error messages according to "line directive"
15+
# comments.
16+
#
17+
# ----------------------------------------------------------------------------
18+
319
import sys
420
import re
521
import bisect

0 commit comments

Comments
 (0)