* @brief Advances past characters inside a Lua long string or block comment. */
| 232 | * @brief Advances past characters inside a Lua long string or block comment. |
| 233 | */ |
| 234 | static void advanceLuaLong(QStringView line, int& i, ScanState& state) |
| 235 | { |
| 236 | int consume = 0; |
| 237 | if (tryLuaLongClose(line, i, state.luaLevel, consume)) { |
| 238 | state.in = ScanIn::Code; |
| 239 | state.luaLevel = 0; |
| 240 | i += consume; |
| 241 | } else |
| 242 | ++i; |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * @brief Returns the open/close keyword sets for Lua block tokens. |
no test coverage detected