Skip to content

Commit

Permalink
Fix parsing edge case with numbers and trailing escapes
Browse files Browse the repository at this point in the history
Fixes sass#1219
  • Loading branch information
mgreter authored and xzyfer committed Jul 8, 2015
1 parent 9c8f2d9 commit bce63b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1384,8 +1384,7 @@ namespace Sass {
if (lex< kwd_important >())
{ return new (ctx.mem) String_Quoted(pstate, "!important"); }

const char* stop;
if ((stop = peek< value_schema >()))
if (const char* stop = peek< value_schema >())
{ return parse_value_schema(stop); }

// string may be interpolated
Expand Down

0 comments on commit bce63b7

Please sign in to comment.