Skip to content

Commit

Permalink
Fix wrong parsing of calc functions as number units (sass#2382)
Browse files Browse the repository at this point in the history
Fixes sass#2382
  • Loading branch information
mgreter committed May 21, 2017
1 parent 3c66e7c commit 039ce08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/prelexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ namespace Sass {
optional <
sequence <
exactly <'/'>,
negate < sequence <
exactly < calc_fn_kwd >,
exactly < '(' >
> >,
multiple_units
> >
>(src);
Expand Down

0 comments on commit 039ce08

Please sign in to comment.