Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
a210fc7f
Commit
a210fc7f
authored
Jun 08, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slight correction to the printing/condensation of dashes.
parent
2a482844
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
eval_apply.cpp
eval_apply.cpp
+1
-0
node_emitters.cpp
node_emitters.cpp
+1
-4
No files found.
eval_apply.cpp
View file @
a210fc7f
...
...
@@ -493,6 +493,7 @@ namespace Sass {
}
else
{
// TO DO: disallow division and multiplication on lists
if
(
op
==
Node
::
sub
)
acc
<<
new_Node
(
Node
::
sub
,
acc
.
path
(),
acc
.
line
(),
Token
::
make
());
acc
.
push_back
(
rhs
);
}
...
...
node_emitters.cpp
View file @
a210fc7f
...
...
@@ -140,9 +140,7 @@ namespace Sass {
case
term
:
{
string
result
(
at
(
0
).
to_string
());
for
(
size_t
i
=
1
,
S
=
size
();
i
<
S
;
++
i
)
{
if
(
!
(
at
(
i
).
type
()
==
add
||
// at(i).type == sub || // another edge case -- consider uncommenting
at
(
i
).
type
()
==
mul
))
{
if
(
at
(
i
).
type
()
!=
add
&&
at
(
i
).
type
()
!=
mul
)
{
result
+=
at
(
i
).
to_string
();
}
}
...
...
@@ -162,7 +160,6 @@ namespace Sass {
stringstream
ss
;
ss
<<
"@import url("
;
ss
<<
at
(
0
).
to_string
();
// cerr << content.token.to_string() << endl;
ss
<<
")"
;
return
ss
.
str
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment