- lowercase style parsing implemented (or put back?)

- alpha sorted preset file entries


git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@370 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2007-09-03 01:11:56 +00:00
parent 1bf65b6a03
commit 60549a9cf9
3 changed files with 23 additions and 10 deletions

View File

@ -80,7 +80,6 @@ token_t Parser::parseToken(std::istream & fs, char * string) {
else
c = fs.get();
std::cerr << c;
last_token_size++;
/* If the string line buffer is full, quit */
if (string_line_buffer_index == (STRING_LINE_SIZE - 1))
@ -160,14 +159,14 @@ token_t Parser::parseToken(std::istream & fs, char * string) {
default:
if (string != NULL)
string[i] = c;
string[i] = tolower(c);
}
}
/* String reached maximum length, return special token error */
return tStringTooLong;
}
/* Parse input in the form of "exp, exp, exp, ...)"