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
e46d0334
Commit
e46d0334
authored
Apr 21, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allowing property names to begin with '*'. Apparently this is some kind of IE hack.
parent
3a0351f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
interpolation.scss
interpolation.scss
+7
-0
document_parser.cpp
src/document_parser.cpp
+1
-1
No files found.
interpolation.scss
View file @
e46d0334
...
...
@@ -33,4 +33,10 @@ div {
+
foo
()
;
d
:
d
;
+
bar
;
}
div
{
color
:
blah
blah
;
*
color
:
blah
bloo
;
_color
:
foo
boo
;
}
\ No newline at end of file
src/document_parser.cpp
View file @
e46d0334
...
...
@@ -498,7 +498,7 @@ namespace Sass {
Node
Document
::
parse_rule
()
{
Node
rule
(
Node
::
rule
,
context
.
registry
,
line_number
,
2
);
if
(
!
lex
<
identifier
>
())
syntax_error
(
"invalid property name"
);
if
(
!
lex
<
sequence
<
optional
<
exactly
<
'*'
>
>
,
identifier
>
>
())
syntax_error
(
"invalid property name"
);
rule
<<
Node
(
Node
::
property
,
line_number
,
lexed
);
if
(
!
lex
<
exactly
<
':'
>
>
())
syntax_error
(
"property
\"
"
+
lexed
.
to_string
()
+
"
\"
must be followed by a ':'"
);
rule
<<
parse_list
();
...
...
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