aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/StyleReader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StyleReader.cs')
-rw-r--r--src/StyleReader.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/StyleReader.cs b/src/StyleReader.cs
index 27b3f4b5..caf6ec0a 100644
--- a/src/StyleReader.cs
+++ b/src/StyleReader.cs
@@ -46,7 +46,12 @@ namespace Crow
while (!EndOfStream) {
char c = (Char)Read ();
-
+ if (c == '/' && !EndOfStream) {
+ if ((char)Peek () == '/') {//process comment, skip until newline
+ ReadLine ();
+ continue;
+ }
+ }
switch (state) {
case readerState.classNames:
if (c.IsWhiteSpaceOrNewLine () || c == ',' || c == '{') {