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 committed Jun 30, 2015
1 parent bb7da94 commit a20accd
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 @@ -1365,8 +1365,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 a20accd

Please sign in to comment.