We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8dc995 + 81f701a commit a90e6b1Copy full SHA for a90e6b1
src/parser.cpp
@@ -2331,7 +2331,7 @@ namespace Sass {
2331
// match in one big "regex"
2332
if (const char* q =
2333
peek <
2334
- one_plus <
+ non_greedy <
2335
alternatives <
2336
// consume whitespace
2337
block_comment, spaces,
@@ -2344,10 +2344,19 @@ namespace Sass {
2344
parenthese_scope,
2345
interpolant
2346
>
2347
+ >,
2348
+ sequence <
2349
+ optional_spaces,
2350
+ alternatives <
2351
+ exactly<'{'>,
2352
+ exactly<'}'>,
2353
+ exactly<';'>
2354
+ >
2355
2356
2357
>(p)
2358
) {
2359
+ if (p == q) return rv;
2360
while (p < q) {
2361
// did we have interpolations?
2362
if (*p == '#' && *(p+1) == '{') {
0 commit comments