| 195 | |
| 196 | |
| 197 | lu_byte luaO_hexavalue (int c) { |
| 198 | lua_assert(lisxdigit(c)); |
| 199 | if (lisdigit(c)) return cast_byte(c - '0'); |
| 200 | else return cast_byte((ltolower(c) - 'a') + 10); |
| 201 | } |
| 202 | |
| 203 | |
| 204 | static int isneg (const char **s) { |
no outgoing calls
no test coverage detected