33 for (
int c = 0;
c < 128; ++
c)
36 if ((
c >=
'a' &&
c <=
'z') || (
c >=
'A' &&
c <=
'Z') ||
c ==
'_') {
38 }
else if (
c >=
'0' &&
c <=
'9') {
40 }
else if (
c ==
' ' ||
c ==
'\t') {
45 in_.
stream().exceptions(std::ios_base::badbit);
51 in_.
stream().clear(std::ios_base::goodbit);
52 in_.
stream().exceptions(std::ios_base::goodbit);
128 case '[':
case ']':
case '/':
case '\n':
case '=':
case ',':
case '+':
168 for (; *cmd; ++cmd) {
const token & next_token()
bool is_alnum(int c) const
bool is_space(int c) const
Some defines: VERSION, PACKAGE, MIN_SAVEGAME_VERSION.
std::istream & stream()
Returns the owned stream.
bool skip_command(char const *cmd)
Returns true if the next characters are the one from cmd followed by a space.
GLsizei const GLcharARB ** string