@@ -37,19 +37,19 @@ struct LuaTokeniserFunctions {
3737
3838 static bool isReservedKeyword (String::CharPointerType token, int const tokenLength) noexcept
3939 {
40- static constexpr char * const keywords2Char[] = { " do" , " if" , " or" , " in" , nullptr };
40+ static constexpr const char * const keywords2Char[] = { " do" , " if" , " or" , " in" , nullptr };
4141
42- static constexpr char * const keywords3Char[] = { " and" , " end" , " for" , " nil" , " not" , " try" , nullptr };
42+ static constexpr const char * const keywords3Char[] = { " and" , " end" , " for" , " nil" , " not" , " try" , nullptr };
4343
44- static constexpr char * const keywords4Char[] = { " else" , " goto" , " then" , " true" , " else" , " self" , nullptr };
44+ static constexpr const char * const keywords4Char[] = { " else" , " goto" , " then" , " true" , " else" , " self" , nullptr };
4545
46- static constexpr char * const keywords5Char[] = { " break" , " false" , " local" , " until" , " while" , " error" , nullptr };
46+ static constexpr const char * const keywords5Char[] = { " break" , " false" , " local" , " until" , " while" , " error" , nullptr };
4747
48- static constexpr char * const keywords6Char[] = { " return" , " repeat" , " elseif" , " assert" , nullptr };
48+ static constexpr const char * const keywords6Char[] = { " return" , " repeat" , " elseif" , " assert" , nullptr };
4949
50- static constexpr char * const keywords8Char[] = { " function" , nullptr };
50+ static constexpr const char * const keywords8Char[] = { " function" , nullptr };
5151
52- static constexpr char * const keywordsOther[] = { " collectgarbage" , " dofile" , " getmetatable" , " ipairs" ,
52+ static constexpr const char * const keywordsOther[] = { " collectgarbage" , " dofile" , " getmetatable" , " ipairs" ,
5353 " loadfile" , " loadstring" , " next" , " pairs" , " pcall" , " print" , " rawequal" ,
5454 " rawget" , " rawset" , " require" , " select" , " setmetatable" , " tonumber" ,
5555 " tostring" , " type" , " xpcall" , nullptr };
0 commit comments