From c507afe46ebd4a8d2045675e2eaca1d0e876b232 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Sun, 8 Jan 2017 23:28:08 -0800 Subject: [PATCH] Fix whitespace after "...". --- CHANGELOG.md | 2 ++ lib/src/parse/stylesheet.dart | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40bb04bf..06009aa7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ * Disallow invalid function names. +* Properly parse whitespace after `...` in argument declaration lists. + * Support terse mixin syntax in the indented syntax. * Fix `@at-root` query parsing. diff --git a/lib/src/parse/stylesheet.dart b/lib/src/parse/stylesheet.dart index 97dda6dd..cd1e9e09 100644 --- a/lib/src/parse/stylesheet.dart +++ b/lib/src/parse/stylesheet.dart @@ -956,6 +956,7 @@ abstract class StylesheetParser extends Parser { } else if (scanner.scanChar($dot)) { scanner.expectChar($dot); scanner.expectChar($dot); + whitespace(); restArgument = name; break; }