File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
1
#!/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
+
3
19
import sys
4
20
import re
5
21
import bisect
You can’t perform that action at this time.
0 commit comments