Index: pkg/csslib/lib/parser.dart |
diff --git a/pkg/csslib/lib/parser.dart b/pkg/csslib/lib/parser.dart |
index 840b9f23998e72395f335368ebe735b73bdf2656..ba8cd1360cf3b7ba4079f6d6b8021c2724ab2580 100644 |
--- a/pkg/csslib/lib/parser.dart |
+++ b/pkg/csslib/lib/parser.dart |
@@ -1494,6 +1494,9 @@ class _Parser { |
value = double.parse(termToken.text); |
break; |
case TokenKind.SINGLE_QUOTE: |
+ value = processQuotedString(false); |
+ value = "'${_escapeString(value, single: true)}'"; |
+ return new LiteralTerm(value, value, _makeSpan(start)); |
case TokenKind.DOUBLE_QUOTE: |
value = processQuotedString(false); |
value = '"${_escapeString(value)}"'; |
@@ -2129,6 +2132,9 @@ class _Parser { |
value = double.parse("${unary}${t.text}"); |
break; |
case TokenKind.SINGLE_QUOTE: |
+ value = processQuotedString(false); |
+ value = "'${_escapeString(value, single: true)}'"; |
+ return new LiteralTerm(value, value, _makeSpan(start)); |
case TokenKind.DOUBLE_QUOTE: |
value = processQuotedString(false); |
value = '"${_escapeString(value)}"'; |