1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:07:34 +00:00

LibJS: Include source location hint in Parser::print_errors()

This commit is contained in:
Linus Groh 2020-12-06 14:50:39 +00:00 committed by Andreas Kling
parent 28552f3f36
commit abd49c174a
2 changed files with 8 additions and 2 deletions

View file

@ -40,6 +40,8 @@ public:
Token next();
const StringView& source() const { return m_source; };
private:
void consume();
bool consume_exponent();