[Scummvm-git-logs] scummvm master -> 30ff631723f5f9e18c5c72979e8464371b2598f4

sev- sev at scummvm.org
Mon Jun 15 22:25:40 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
30ff631723 DIRECTOR: LINGO: Added another edge case to nexttok()


Commit: 30ff631723f5f9e18c5c72979e8464371b2598f4
    https://github.com/scummvm/scummvm/commit/30ff631723f5f9e18c5c72979e8464371b2598f4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-06-16T00:25:12+02:00

Commit Message:
DIRECTOR: LINGO: Added another edge case to nexttok()

Changed paths:
    engines/director/lingo/lingo-preprocessor.cpp


diff --git a/engines/director/lingo/lingo-preprocessor.cpp b/engines/director/lingo/lingo-preprocessor.cpp
index 9669c2977e..03bef562f1 100644
--- a/engines/director/lingo/lingo-preprocessor.cpp
+++ b/engines/director/lingo/lingo-preprocessor.cpp
@@ -50,7 +50,7 @@ static Common::String nexttok(const char *s, const char **newP = nullptr) {
 
 		if (*s == '"')
 			res += *s++;
-	} else if (Common::isAlnum(*s) || *s == '#') {
+	} else if (Common::isAlnum(*s) || *s == '#' || *s == '.') {
 		// Now copy everything till whitespace
 		while (*s && (Common::isAlnum(*s) || *s == '.' || *s == '#' || *s == '_'))
 			res += *s++;




More information about the Scummvm-git-logs mailing list