mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
Update Parser.cpp
This commit is contained in:
parent
b6b74b4425
commit
4996b56b17
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ AstStat* Parser::parseAttributeStat()
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return reportStatError(lexer.current().location, {}, {},
|
return reportStatError(lexer.current().location, {}, {},
|
||||||
"Expected 'function', 'local function', 'declare function' or a function type declaration after attribute, but got %s intead",
|
"Expected 'function', 'local function', 'declare function' or a function type declaration after attribute, but got %s instead",
|
||||||
lexer.current().toString().c_str());
|
lexer.current().toString().c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue