Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 94d0006

Browse files
author
Aaron Leung
committed
Using the file-name and line-number of the function name as the file-name and line-number of a function call.
1 parent 98b7de2 commit 94d0006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ namespace Sass {
10551055
}
10561056

10571057
Node args(parse_arguments());
1058-
Node call(context.new_Node(Node::function_call, path, line, 2));
1058+
Node call(context.new_Node(Node::function_call, name.path(), name.line(), 2));
10591059
call << name << args;
10601060
call.should_eval() = true;
10611061
return call;

0 commit comments

Comments
 (0)