diff options
author | Christopher Durham <[email protected]> | 2018-01-28 10:51:39 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2018-01-28 10:51:39 +0000 |
commit | 5982e6d73b600e00d4eb72800e30c3c0700eb75b (patch) | |
tree | 6ff7ceebfa5013eb3768a17ef032233267f39a45 /src/lexer | |
parent | f4f79038d103c77e36b9b4eb74f532a7f9598234 (diff) |
Update comments.rs
Diffstat (limited to 'src/lexer')
-rw-r--r-- | src/lexer/comments.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer/comments.rs b/src/lexer/comments.rs index d388561bf..d1e958817 100644 --- a/src/lexer/comments.rs +++ b/src/lexer/comments.rs | |||
@@ -14,7 +14,7 @@ pub(crate) fn scan_shebang(ptr: &mut Ptr) -> bool { | |||
14 | } | 14 | } |
15 | } | 15 | } |
16 | 16 | ||
17 | pub(crate) fn scan_block_comment(ptr: &mut Ptr) -> Option<SyntaxKind> { | 17 | fn scan_block_comment(ptr: &mut Ptr) -> Option<SyntaxKind> { |
18 | if ptr.next_is('*') { | 18 | if ptr.next_is('*') { |
19 | ptr.bump(); | 19 | ptr.bump(); |
20 | let mut depth: u32 = 1; | 20 | let mut depth: u32 = 1; |