pub fn sem_error(ls: &mut LexState, msg: &[u8]) -> LuaErrorExpand description
Report a semantic error at the current line WITHOUT the near <token>
suffix.
The near clause is suppressed by passing token 0. Used for attribute
errors (unknown attribute '<name>', global variables cannot be to-be-closed) where the offending construct is the attribute itself, not
the current lookahead token.