Skip to content

Commit 5415cf6

Browse files
committed
Add a summary sentence as well.
1 parent 57635f3 commit 5415cf6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

xls/dslx/frontend/ast.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,10 @@ FreeVariables GetFreeVariablesByLambda(
242242
// Note: the start_pos given is a way to approximate "free variable with
243243
// respect to this AST construct". i.e. all the references with defs that are
244244
// defined before this start_pos point are considered free. This gives an easy
245-
// way to say "everything defined inside the body we don't need to worry about,
246-
// only tell me about references to things before this lexical position in the
247-
// file.
245+
// way to say "everything defined inside the body we don't need to worry about
246+
// -- only tell me about references to things before this lexical position in
247+
// the file" -- "lexical position in the file" is an approximation for
248+
// "everything defined outside of (before) this AST construct".
248249
FreeVariables GetFreeVariablesByPos(const AstNode* node,
249250
const Pos* start_pos = nullptr);
250251

0 commit comments

Comments
 (0)