1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:27:35 +00:00

LibCpp: Support initializing the lexer with a "start line"

This commit is contained in:
Itamar 2021-08-06 10:16:53 +03:00 committed by Andreas Kling
parent 5fda8a6c36
commit bf7262681e
2 changed files with 4 additions and 2 deletions

View file

@ -14,7 +14,7 @@ namespace Cpp {
class Lexer {
public:
Lexer(StringView const&);
explicit Lexer(StringView const&, size_t start_line = 0);
Vector<Token> lex();