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
2b945a09
Commit
2b945a09
authored
Jun 08, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplifying the @warn emitter.
parent
7766c732
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
node.hpp
node.hpp
+1
-0
node_emitters.cpp
node_emitters.cpp
+4
-5
No files found.
node.hpp
View file @
2b945a09
...
...
@@ -134,6 +134,7 @@ namespace Sass {
textual_hex
,
color_name
,
string_constant
,
concatenation
,
number
,
numeric_percentage
,
numeric_dimension
,
...
...
node_emitters.cpp
View file @
2b945a09
...
...
@@ -332,11 +332,10 @@ namespace Sass {
if
(
contents
.
type
()
==
string_constant
||
contents
.
type
()
==
string_schema
)
{
result
=
result
.
substr
(
1
,
result
.
size
()
-
2
);
// unquote if it's a single string
}
stringstream
ss
;
ss
<<
prefix
<<
result
<<
endl
;
ss
<<
indent
<<
"on line "
<<
at
(
0
).
line
()
<<
" of "
<<
at
(
0
).
path
();
ss
<<
endl
<<
endl
;
cerr
<<
ss
.
str
();
// These cerrs aren't log lines! They're supposed to be here!
cerr
<<
prefix
<<
result
<<
endl
;
cerr
<<
indent
<<
"on line "
<<
at
(
0
).
line
()
<<
" of "
<<
at
(
0
).
path
();
cerr
<<
endl
<<
endl
;
return
""
;
}
break
;
...
...
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