summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/tokens.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parse/tokens.rs b/src/parse/tokens.rs
index e004dd37..67d413fd 100644
--- a/src/parse/tokens.rs
+++ b/src/parse/tokens.rs
@@ -591,6 +591,10 @@ impl<'s> Tokens<'s> {
depth += 1;
'_'
}
+ ('/', '/') => {
+ self.line_comment();
+ '_'
+ }
_ => c,
}
}