472 Commits

Author SHA1 Message Date
ConnorSkees
cc881db254 more robustly handle import paths 2020-04-24 21:38:25 -04:00
ConnorSkees
f88c22f360 test for chained imports 2020-04-24 20:30:14 -04:00
ConnorSkees
2fb64934d7 emit proper error for missing quotes on @ import 2020-04-24 20:00:22 -04:00
ConnorSkees
ecf36cd6d3 refactor how @ import is tested 2020-04-24 19:42:04 -04:00
ConnorSkees
0969df8fe5 handle url edge case involving ; and no space between before style 2020-04-24 19:13:38 -04:00
ConnorSkees
a5cd335318 properly handle whitespace and start and end of url() 2020-04-24 19:00:06 -04:00
ConnorSkees
a86d717f26 properly parse variable flags 2020-04-23 21:30:25 -04:00
ConnorSkees
99ae3ae30a test for multiline comments in subtraction 2020-04-23 19:44:20 -04:00
ConnorSkees
409ac80921 handle multiline comments surrounding @ if condition 2020-04-23 19:32:32 -04:00
ConnorSkees
69764ceaa3 allow arbitrary control flow inside @ for 2020-04-23 18:53:19 -04:00
ConnorSkees
9bb7c05d19 improve handling of @ while scoping 2020-04-23 18:14:42 -04:00
ConnorSkees
ca318d47df properly handle @ while in functions 2020-04-23 15:23:53 -04:00
ConnorSkees
5edd0d4f35 test for cases from rsass issues 2020-04-23 14:40:27 -04:00
ConnorSkees
5b33b8fc74 refactor @ for to be used in @ function 2020-04-23 13:57:10 -04:00
ConnorSkees
71495cd03b do not strip whitespace after var in call args 2020-04-23 13:54:49 -04:00
ConnorSkees
8be3fdc8d9 test for nested if in functions 2020-04-22 11:37:20 -04:00
ConnorSkees
34b886b758 more robustly handle escaping 2020-04-22 10:57:57 -04:00
ConnorSkees
4607163a62 more robustly handle - as start of identifier 2020-04-21 17:57:50 -04:00
ConnorSkees
38c45129d9 refactor function eval 2020-04-21 11:32:27 -04:00
ConnorSkees
a29d8aea7b test unquoted escape minus unquoted 2020-04-21 06:01:11 -04:00
ConnorSkees
2567af74de clearer comment in tests 2020-04-21 05:38:38 -04:00
ConnorSkees
a339499c9b return string rather than writing to buffer 2020-04-21 05:25:08 -04:00
ConnorSkees
1cb135c833 do not emit empty media queries 2020-04-21 04:52:47 -04:00
ConnorSkees
11cc99e877 test nested url() 2020-04-21 04:33:30 -04:00
ConnorSkees
9b85dd7446 test for silent comments in interpolation in url 2020-04-21 04:32:09 -04:00
ConnorSkees
f8ab03a94f test invalid arithmetic in calc 2020-04-21 04:28:23 -04:00
ConnorSkees
fc3facb80c properly handle url() 2020-04-21 04:20:35 -04:00
ConnorSkees
b2e3322f9a eval @each list 2020-04-21 03:19:04 -04:00
ConnorSkees
716cb49991 test for newlines in special functions 2020-04-20 15:16:05 -04:00
ConnorSkees
3e9e860e20 allow slient comments in special function args 2020-04-20 15:11:03 -04:00
ConnorSkees
a6b61082fe interpolation of strings in idents is literal 2020-04-20 12:12:39 -04:00
ConnorSkees
29886d6845 newlines are no longer replaced with spaces in quoted strings 2020-04-20 11:48:17 -04:00
ConnorSkees
8f27525536 interpolated strings are literal 2020-04-20 11:34:49 -04:00
ConnorSkees
4ca6e304a5 allow at-rules other than else to follow @ if 2020-04-20 10:57:35 -04:00
ConnorSkees
4346756e9e disallow - in unit when followed by [0-9\.] 2020-04-20 04:05:02 -04:00
ConnorSkees
9790846c99 inspect comma separated list of comma separated lists 2020-04-20 03:07:02 -04:00
ConnorSkees
715f6fb94a inspect single value lists 2020-04-20 02:55:55 -04:00
ConnorSkees
c521e0a835 somewhat handle unary div 2020-04-20 02:32:46 -04:00
ConnorSkees
f8540755f5 better support for unary plus 2020-04-20 02:19:54 -04:00
ConnorSkees
b6cf00c87b addition between number and unary ops 2020-04-20 02:16:22 -04:00
ConnorSkees
23390238b9 implement addition between num + bool 2020-04-20 02:13:28 -04:00
ConnorSkees
9103a1d0d8 add ignored subtraction test 2020-04-20 02:06:45 -04:00
ConnorSkees
a8e97984d4 subtraction occurs when no space between operands 2020-04-20 01:56:53 -04:00
ConnorSkees
9d9997432a properly unquote lists 2020-04-19 22:55:25 -04:00
ConnorSkees
64e2632de4 refactor parsing of quoted strings with interpolation containing strings 2020-04-19 22:41:37 -04:00
ConnorSkees
7579a6e9b5 refactor parsing of unquoted strings 2020-04-19 20:22:31 -04:00
ConnorSkees
e820395cc5 refactor printing and parsing of quoted strings 2020-04-19 13:51:37 -04:00
ConnorSkees
4ba45bb8c1 more robust handling of is_null 2020-04-19 00:39:18 -04:00
ConnorSkees
cb8be064a9 interpolation in multiline comments 2020-04-18 21:01:12 -04:00
ConnorSkees
71546d7fc4 handle -(null) and -null 2020-04-18 20:45:40 -04:00