Skip to content

Commit 4afb414

Browse files
authored
Merge pull request #21653 from apple/dabrahams/tweak-line-directive-help
2 parents 8350d2b + a6ffb59 commit 4afb414

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/gyb.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,10 @@ def succ(a):
12371237
Line directive format string, which will be
12381238
provided 2 substitutions, `%%(line)d` and `%%(file)s`.
12391239
1240-
Example: `// #sourceLocation(file: "%%(file)s", line: %%(line)d)`
1240+
Example: `#sourceLocation(file: "%%(file)s", line: %%(line)d)`
1241+
1242+
The default works automatically with the `line-directive` tool,
1243+
which see for more information.
12411244
''')
12421245

12431246
args = parser.parse_args(sys.argv[1:])

0 commit comments

Comments
 (0)