------------------------------------------------------------------------
-- save current character into token buffer, grabs next character
-- * like luaX:nextc, returns the character read for convenience
------------------------------------------------------------------------

function luaX:save_and_next(ls)
  self:save(ls, ls.current)
  return self:nextc(ls)
end
