less 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/less.gemspec +2 -2
- data/lib/less/engine/less.tt +1 -1
- data/lib/less/engine/parser.rb +34 -19
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.14
|
data/less.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{less}
|
5
|
-
s.version = "1.0.
|
5
|
+
s.version = "1.0.14"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["cloudhead"]
|
9
|
-
s.date = %q{2009-07-
|
9
|
+
s.date = %q{2009-07-21}
|
10
10
|
s.default_executable = %q{lessc}
|
11
11
|
s.description = %q{LESS is leaner CSS}
|
12
12
|
s.email = %q{self@cloudhead.net}
|
data/lib/less/engine/less.tt
CHANGED
data/lib/less/engine/parser.rb
CHANGED
@@ -1572,11 +1572,11 @@ module Less
|
|
1572
1572
|
end
|
1573
1573
|
|
1574
1574
|
i0, s0 = index, []
|
1575
|
-
if has_terminal?('
|
1575
|
+
if has_terminal?('*', false, index)
|
1576
1576
|
r2 = instantiate_node(SyntaxNode,input, index...(index + 1))
|
1577
1577
|
@index += 1
|
1578
1578
|
else
|
1579
|
-
terminal_parse_failure('
|
1579
|
+
terminal_parse_failure('*')
|
1580
1580
|
r2 = nil
|
1581
1581
|
end
|
1582
1582
|
if r2
|
@@ -1586,27 +1586,42 @@ module Less
|
|
1586
1586
|
end
|
1587
1587
|
s0 << r1
|
1588
1588
|
if r1
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
r4 = nil
|
1596
|
-
end
|
1597
|
-
if r4
|
1598
|
-
s3 << r4
|
1599
|
-
else
|
1600
|
-
break
|
1601
|
-
end
|
1589
|
+
if has_terminal?('-', false, index)
|
1590
|
+
r4 = instantiate_node(SyntaxNode,input, index...(index + 1))
|
1591
|
+
@index += 1
|
1592
|
+
else
|
1593
|
+
terminal_parse_failure('-')
|
1594
|
+
r4 = nil
|
1602
1595
|
end
|
1603
|
-
if
|
1604
|
-
|
1605
|
-
r3 = nil
|
1596
|
+
if r4
|
1597
|
+
r3 = r4
|
1606
1598
|
else
|
1607
|
-
r3 = instantiate_node(SyntaxNode,input,
|
1599
|
+
r3 = instantiate_node(SyntaxNode,input, index...index)
|
1608
1600
|
end
|
1609
1601
|
s0 << r3
|
1602
|
+
if r3
|
1603
|
+
s5, i5 = [], index
|
1604
|
+
loop do
|
1605
|
+
if has_terminal?('[-a-z0-9_]', true, index)
|
1606
|
+
r6 = true
|
1607
|
+
@index += 1
|
1608
|
+
else
|
1609
|
+
r6 = nil
|
1610
|
+
end
|
1611
|
+
if r6
|
1612
|
+
s5 << r6
|
1613
|
+
else
|
1614
|
+
break
|
1615
|
+
end
|
1616
|
+
end
|
1617
|
+
if s5.empty?
|
1618
|
+
@index = i5
|
1619
|
+
r5 = nil
|
1620
|
+
else
|
1621
|
+
r5 = instantiate_node(SyntaxNode,input, i5...index, s5)
|
1622
|
+
end
|
1623
|
+
s0 << r5
|
1624
|
+
end
|
1610
1625
|
end
|
1611
1626
|
if s0.last
|
1612
1627
|
r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cloudhead
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-07-
|
12
|
+
date: 2009-07-21 00:00:00 -04:00
|
13
13
|
default_executable: lessc
|
14
14
|
dependencies: []
|
15
15
|
|