Преглед изворни кода

Another corner case when found ']' that is not the real end termination.

mingodad пре 13 година
родитељ
комит
c55856a790
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      squirrel/sqlexer.cpp

+ 1 - 0
squirrel/sqlexer.cpp

@@ -398,6 +398,7 @@ SQInteger SQLexer::ReadString(SQInteger ndelim,bool verbatim)
                 }
                 APPEND_CHAR(_SC('='));
 		    }
+		    APPEND_CHAR(_SC(']')); //the first NEXT() after brek the while loop
 		    APPEND_CHAR(CUR_CHAR);
 		    NEXT();
 		}