-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
Compile the following file:
/* double-semi-colon.less */
@color: #4D926F;
#header {
color: @color;
}
h2 {
color: @color;
}
The compile fails with the following error:
ParseError: Syntax Error on line 1 in /Users/jasonsj/Desktop/h5bp-html5-boilerplate/double-semi-colon.less:1:16
1 @color: #4D926F;;
2 �[0m
Seems like a semi-colon with no following declaration is still valid CSS:
/* http://www.w3.org/TR/css3-syntax/#style */
ruleset : selector? '{' S* declaration? [ ';' S* declaration? ]* '}' S*;
Metadata
Metadata
Assignees
Labels
No labels