diff options
Diffstat (limited to 'Scanner.cpp')
-rw-r--r-- | Scanner.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Scanner.cpp b/Scanner.cpp index d3000099..9382b134 100644 --- a/Scanner.cpp +++ b/Scanner.cpp @@ -184,9 +184,8 @@ Token::Value Scanner::scanDocumentationComment() advance(); //consume the last '/' while (!isSourcePastEndOfInput() && !IsLineTerminator(m_char)) { - char c = m_char; + addCommentLiteralChar(m_char); advance(); - addCommentLiteralChar(c); } literal.Complete(); return Token::COMMENT_LITERAL; |