[Scummvm-cvs-logs] SF.net SVN: scummvm:[33859] scummvm/trunk/engines/parallaction

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Thu Aug 14 09:14:35 CEST 2008


Revision: 33859
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33859&view=rev
Author:   peres001
Date:     2008-08-14 07:14:34 +0000 (Thu, 14 Aug 2008)

Log Message:
-----------
Finally moved parseNextToken to Script, where it belongs!

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/parser.cpp
    scummvm/trunk/engines/parallaction/parser.h

Modified: scummvm/trunk/engines/parallaction/parser.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parser.cpp	2008-08-14 07:10:42 UTC (rev 33858)
+++ scummvm/trunk/engines/parallaction/parser.cpp	2008-08-14 07:14:34 UTC (rev 33859)
@@ -93,7 +93,7 @@
 //
 //	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 };
 

Modified: scummvm/trunk/engines/parallaction/parser.h
===================================================================
--- scummvm/trunk/engines/parallaction/parser.h	2008-08-14 07:10:42 UTC (rev 33858)
+++ scummvm/trunk/engines/parallaction/parser.h	2008-08-14 07:14:34 UTC (rev 33859)
@@ -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 @@
 
 	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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list