mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
LUA_ASSERT in readInterpolatedStringBegin
This commit is contained in:
parent
c8d7fd171f
commit
acf5c78dcc
1 changed files with 2 additions and 0 deletions
|
@ -597,6 +597,8 @@ const Lexeme& Lexer::nextInterpolatedString()
|
||||||
|
|
||||||
Lexeme Lexer::readInterpolatedStringBegin()
|
Lexeme Lexer::readInterpolatedStringBegin()
|
||||||
{
|
{
|
||||||
|
LUAU_ASSERT(peekch() == '`');
|
||||||
|
|
||||||
Position start = position();
|
Position start = position();
|
||||||
consume();
|
consume();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue