mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
Finally moved parseNextToken to Script, where it belongs!
svn-id: r33859
This commit is contained in:
parent
4a46c99026
commit
5cfa50f028
@ -93,7 +93,7 @@ void Script::skip(const char* endToken) {
|
||||
//
|
||||
// The routine returns the unparsed portion of the input string 's'.
|
||||
//
|
||||
char *parseNextToken(char *s, char *tok, uint16 count, const char *brk, bool ignoreQuotes) {
|
||||
char *Script::parseNextToken(char *s, char *tok, uint16 count, const char *brk, bool ignoreQuotes) {
|
||||
|
||||
enum STATES { NORMAL, QUOTED };
|
||||
|
||||
|
@ -32,8 +32,6 @@
|
||||
|
||||
namespace Parallaction {
|
||||
|
||||
char *parseNextToken(char *s, char *tok, uint16 count, const char *brk, bool ignoreQuotes = false);
|
||||
|
||||
#define MAX_TOKEN_LEN 50
|
||||
extern int _numTokens;
|
||||
extern char _tokens[][MAX_TOKEN_LEN];
|
||||
@ -46,6 +44,7 @@ class Script {
|
||||
|
||||
void clearTokens();
|
||||
uint16 fillTokens(char* line);
|
||||
char *parseNextToken(char *s, char *tok, uint16 count, const char *brk, bool ignoreQuotes = false);
|
||||
|
||||
public:
|
||||
Script(Common::ReadStream *, bool _disposeSource = false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user