[Scummvm-cvs-logs] SF.net SVN: scummvm:[46746] scummvm/trunk/common/config-file.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Wed Dec 30 15:55:34 CET 2009


Revision: 46746
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46746&view=rev
Author:   mthreepwood
Date:     2009-12-30 14:55:33 +0000 (Wed, 30 Dec 2009)

Log Message:
-----------
Update comments to reflect the changes used for Mohawk.

Modified Paths:
--------------
    scummvm/trunk/common/config-file.cpp

Modified: scummvm/trunk/common/config-file.cpp
===================================================================
--- scummvm/trunk/common/config-file.cpp	2009-12-30 14:46:06 UTC (rev 46745)
+++ scummvm/trunk/common/config-file.cpp	2009-12-30 14:55:33 UTC (rev 46746)
@@ -98,7 +98,8 @@
 		} else if (line[0] == '#' || line[0] == ';') {
 			// Accumulate comments here. Once we encounter either the start
 			// of a new section, or a key-value-pair, we associate the value
-			// of the 'comment' variable with that entity.
+			// of the 'comment' variable with that entity. The semicolon
+			// comment is used for Living Books games in Mohawk.
 			comment += line;
 			comment += "\n";
 		} else if (line[0] == '(') {
@@ -116,7 +117,8 @@
 			const char *p = line.c_str() + 1;
 			// Get the section name, and check whether it's valid (that
 			// is, verify that it only consists of alphanumerics,
-			// periods, dashes and underscores).
+			// periods, dashes and underscores). Mohawk Living Books games
+			// can have periods in their section names.
 			while (*p && (isalnum(*p) || *p == '-' || *p == '_' || *p == '.'))
 				p++;
 


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