Skip to content

Commit

Permalink
Enhance stacktrace to report column numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Mar 17, 2018
1 parent d0b6338 commit e0321a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backtrace.cpp
Expand Up @@ -24,6 +24,8 @@ namespace Sass {
ss << indent;
ss << "on line ";
ss << trace.pstate.line + 1;
ss << ":";
ss << trace.pstate.column + 1;
ss << " of " << rel_path;
// ss << trace.caller;
first = false;
Expand All @@ -33,6 +35,8 @@ namespace Sass {
ss << indent;
ss << "from line ";
ss << trace.pstate.line + 1;
ss << ":";
ss << trace.pstate.column + 1;
ss << " of " << rel_path;
}

Expand Down

0 comments on commit e0321a0

Please sign in to comment.