diff options
author | Itamar <itamar8910@gmail.com> | 2021-02-10 22:15:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-13 19:50:09 +0100 |
commit | 8ace2cfa1848ad4402b0c8ffa1875d6d9bffec10 (patch) | |
tree | e143ccbd7abc8c5acadad70a59f667a2d06ef63b /Userland/Libraries/LibCpp/Parser.h | |
parent | 2da5ecba41ca7cc6212cce8e27e082723e6f6782 (diff) | |
download | serenity-8ace2cfa1848ad4402b0c8ffa1875d6d9bffec10.zip |
LibCpp: Fix lexing & parsing of non-terminated strings
Diffstat (limited to 'Userland/Libraries/LibCpp/Parser.h')
-rw-r--r-- | Userland/Libraries/LibCpp/Parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCpp/Parser.h b/Userland/Libraries/LibCpp/Parser.h index b55dce0775..5fe0ec6279 100644 --- a/Userland/Libraries/LibCpp/Parser.h +++ b/Userland/Libraries/LibCpp/Parser.h @@ -114,6 +114,7 @@ private: Token peek() const; Optional<Token> peek(Token::Type) const; Position position() const; + StringView text_of_range(Position start, Position end) const; void save_state(); void load_state(); |