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
526766a4
Commit
526766a4
authored
Apr 18, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bam, interpolation on the right-hand-side of style rules.
parent
df5cb4a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
document_parser.cpp
document_parser.cpp
+7
-0
interpolation.scss
interpolation.scss
+7
-0
No files found.
document_parser.cpp
View file @
526766a4
...
...
@@ -717,6 +717,13 @@ namespace Sass {
return
var
;
}
if
(
lex
<
interpolant
>
())
{
Token
insides
(
Token
::
make
(
lexed
.
begin
+
2
,
lexed
.
end
-
1
));
Document
interp
(
line_number
,
insides
,
context
);
return
interp
.
parse_list
();
}
syntax_error
(
"error reading values after "
+
lexed
.
to_string
());
}
...
...
interpolation.scss
0 → 100644
View file @
526766a4
$x
:
bar
;
div
{
a
:
blah
foo
#{
$x
}
;
b
:
1
+
123
#{
4
+
5
}
;
}
\ No newline at end of file
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