Skip to content
Permalink
Browse files

Fixed parsing bug

  • Loading branch information...
XAMPPRocky committed Jun 2, 2019
1 parent 3e7e9f2 commit b70450171d19dd67085ee872c0d852e8b8da7816
Showing with 4 additions and 1 deletion.
  1. +2 −0 src/language/language_type.rs
  2. +2 −1 tests/data/Dockerfile
@@ -154,6 +154,8 @@ impl LanguageType {
ended_with_comments = true;
skip!(skip_amount);
continue;
} else if syntax.quote.is_some() {
continue;
}

let is_quote_or_multi_line = syntax.parse_quote(window)
@@ -1,4 +1,4 @@
# 16 lines 6 code 3 comments 7 blanks
# 17 lines 7 code 3 comments 7 blanks

FROM netbsd:7.0.2

@@ -10,6 +10,7 @@ RUN curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- -y
VOLUME ["/project"]
WORKDIR "/project"

RUN sh -c 'echo "Hello World" > /dev/null'
RUN cargo install tokei # not counted

# now you do your part

0 comments on commit b704501

Please sign in to comment.
You can’t perform that action at this time.