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
de9f259e
Commit
de9f259e
authored
Mar 26, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Getting things to compile again.
parent
4576338f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
document.hpp
document.hpp
+3
-1
document_parser.cpp
document_parser.cpp
+4
-4
No files found.
document.hpp
View file @
de9f259e
...
...
@@ -113,8 +113,10 @@ namespace Sass {
Node
parse_import
();
Node
parse_include
(
bool
delay
=
false
);
void
parse_mixin_def
();
Node
parse_parameter
();
Node
parse_arguments
(
bool
delay
=
false
);
Node
parse_mixin_params
();
void
parse_var_def
(
);
Node
parse_var_def
(
bool
delay
=
false
);
Node
parse_ruleset
();
Node
parse_selector_group
();
Node
parse_selector
();
...
...
document_parser.cpp
View file @
de9f259e
...
...
@@ -57,7 +57,7 @@ namespace Sass {
lex
<
include
>
();
lex
<
identifier
>
();
Node
name
(
line_number
,
Node
::
identifier
,
lexed
);
Node
args
(
line_number
,
Node
::
argument
s
,
parse_arguments
(
delay
));
Node
args
(
line_number
,
Node
::
parameter
s
,
parse_arguments
(
delay
));
Node
call
(
line_number
,
Node
::
mixin_call
,
2
);
call
<<
name
<<
args
;
if
(
!
delay
)
{
...
...
@@ -76,7 +76,7 @@ namespace Sass {
lex
<
exactly
<
')'
>
)
();
lex
<
exactly
<
')'
>
>
();
}
void
Document
::
parse_mixin_def
()
...
...
@@ -90,7 +90,7 @@ namespace Sass {
mixin
<<
name
<<
params
<<
body
;
context
.
mixins
[
name
.
token
]
=
mixin
;
cerr
<<
"pars
ing
mixin definition: "
;
cerr
<<
"pars
ed
mixin definition: "
;
cerr
<<
string
(
mixin
[
0
].
token
)
<<
"("
;
if
(
params
.
size
()
>
0
)
{
cerr
<<
string
(
params
[
0
].
token
);
...
...
@@ -132,7 +132,7 @@ namespace Sass {
Node
Document
::
parse_var_def
(
bool
delay
)
{
lex
<
variable
>
();
const
Token
key
(
lexed
);
Token
key
(
lexed
);
lex
<
exactly
<
':'
>
>
();
// context.environment[key] = parse_values();
Node
val
(
parse_list
(
delay
));
...
...
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