Corrects comment literal that span too long.

This commit is contained in:
Erik Kundt
2020-02-14 15:53:35 +01:00
parent b43751d65e
commit cfc70ede5c
2 changed files with 13 additions and 9 deletions
+2 -1
View File
@@ -229,7 +229,8 @@ private:
Token scanString();
Token scanHexString();
Token scanSingleLineDocComment();
/// Scans a single line comment and returns its corrected end position.
int scanSingleLineDocComment();
Token scanMultiLineDocComment();
/// Scans a slash '/' and depending on the characters returns the appropriate token
Token scanSlash();