From 8b2b343732610f4d97d87061baa8d833187623ff Mon Sep 17 00:00:00 2001 From: w1z7ard Date: Mon, 10 Sep 2007 00:59:49 +0000 Subject: [PATCH] updated line hack comment git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@424 6778bc44-b910-0410-a7a0-be141de4315d --- src/projectM-engine/Parser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/projectM-engine/Parser.cpp b/src/projectM-engine/Parser.cpp index 740a0b699..a3ce06dad 100755 --- a/src/projectM-engine/Parser.cpp +++ b/src/projectM-engine/Parser.cpp @@ -161,8 +161,9 @@ token_t Parser::parseToken(std::istream & fs, char * string) // the first equals sign on that line. // // We can safely assume the next line must be part of the token if we allow the - // semi colon to be a guaranteed delimiter in the grammar for all equation-based lines - // This IS assumed here. + // semi colon to be a guaranteed delimiter in the grammar for all equation-based lines. + // This IS NO LONGER assumed here. Instead, we check if the next line prefix + // matches with the previous line prefix. If it passes a simple comparison, we wrap around. if (tokenWrapAroundEnabled) {