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
568999f5
Commit
568999f5
authored
Apr 22, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allowing url(...) to take unquoted paths.
parent
0402084d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
document_parser.cpp
document_parser.cpp
+9
-4
No files found.
document_parser.cpp
View file @
568999f5
...
...
@@ -436,7 +436,7 @@ namespace Sass {
}
Node
imported_tree
(
parse_import
());
if
(
imported_tree
.
type
==
Node
::
css_import
)
{
cerr
<<
"css import inside block"
<<
endl
;
//
cerr << "css import inside block" << endl;
block
<<
imported_tree
;
block
.
has_statements
=
true
;
}
...
...
@@ -710,15 +710,20 @@ namespace Sass {
{
if
(
lex
<
uri_prefix
>
())
{
lex
<
string_constant
>
();
Node
result
(
Node
::
uri
,
line_number
,
lexed
);
const
char
*
value
=
position
;
const
char
*
rparen
=
find_first
<
exactly
<
')'
>
>
(
position
);
if
(
!
rparen
)
syntax_error
(
"URI is missing ')'"
);
Token
contents
(
Token
::
make
(
value
,
rparen
));
// lex< string_constant >();
Node
result
(
Node
::
uri
,
line_number
,
contents
);
position
=
rparen
;
lex
<
exactly
<
')'
>
>
();
return
result
;
}
if
(
lex
<
value_schema
>
())
{
cerr
<<
"parsing value schema: "
<<
lexed
.
to_string
()
<<
endl
;
//
cerr << "parsing value schema: " << lexed.to_string() << endl;
Document
schema_doc
(
path
,
line_number
,
lexed
,
context
);
return
schema_doc
.
parse_value_schema
();
...
...
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