Skip to content

Commit 0c39614

Browse files
author
Frank W. Bergmann
committed
fix: remaining comments in selector are also removed
1 parent 083a602 commit 0c39614

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.timestamps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
1184080854 ./BUGS
44
1184080854 ./ChangeLog
55
1184080854 ./COPYING
6-
1432760905 ./csstidy
6+
1432762079 ./csstidy
77
1184080854 ./csstidy/background.cpp
88
1184080854 ./csstidy/background.hpp
99
1184080852 ./csstidy/conversions.cpp
@@ -27,7 +27,7 @@
2727
1184080854 ./csstidy/main.cpp
2828
1184080854 ./csstidy/misc.cpp
2929
1184080852 ./csstidy/misc.hpp
30-
1432759964 ./csstidy/parse_css.cpp
30+
1432762079 ./csstidy/parse_css.cpp
3131
1184080854 ./csstidy/parse_css.hpp
3232
1432758517 ./csstidy/prepare.cpp
3333
1184080852 ./csstidy/prepare.hpp

csstidy/parse_css.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ void csstidy::parse_css(string css_input)
9999
case is:
100100
if(is_token(css_input,i))
101101
{
102-
if(css_input[i] == '/' && s_at(css_input,i+1) == '*' && trim(cur_selector) == "")
102+
/*if(css_input[i] == '/' && s_at(css_input,i+1) == '*' && trim(cur_selector) == "") selector as dep doesn't make any sense here, huh? */
103+
if(css_input[i] == '/' && s_at(css_input,i+1) == '*')
103104
{
104105
status = ic; ++i;
105106
from = is;

0 commit comments

Comments
 (0)