File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -321,8 +321,9 @@ inline std::string pstate_source_position(AST_Node* node)
321
321
{
322
322
std::stringstream str;
323
323
SourceSpan pstate (node->pstate ());
324
- str << (pstate.getSrcId () == std::string::npos ? 99999999 : pstate.getSrcId ())
325
- << " @[" << (pstate.getLine ()) << " :" << (pstate.getColumn ()) << " ]" ;
324
+ str << (pstate.getSrcId () == std::string::npos ? 9999999 : pstate.getSrcId ())
325
+ << " @[" << (pstate.position .line ) << " :" << (pstate.position .column ) << " ]"
326
+ << " +[" << (pstate.span .line ) << " :" << (pstate.span .column ) << " ]" ;
326
327
#ifdef DEBUG_SHARED_PTR
327
328
str << " x" << node->getRefCount () << " "
328
329
<< " {#" << node->objId << " }"
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ namespace Sass {
61
61
void StringScanner::consumedChar (uint8_t character)
62
62
{
63
63
switch (character) {
64
+ case $cr:
65
+ offset.column += 1 ;
66
+ break ;
64
67
case $lf:
65
68
offset.line += 1 ;
66
69
offset.column = 0 ;
You can’t perform that action at this time.
0 commit comments