From 5f18d6d8286308e236f58b8c14aba449f8f4ef0f Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 11 Feb 2011 06:18:39 +0000 Subject: (svn r22055) -Fix [FS#4490]: [Squirrel] some invalid squirrel code caused the squirrel compiler to crash --- src/3rdparty/squirrel/squirrel/sqcompiler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/3rdparty/squirrel') diff --git a/src/3rdparty/squirrel/squirrel/sqcompiler.cpp b/src/3rdparty/squirrel/squirrel/sqcompiler.cpp index 6c07d8103..b26ab8f6f 100644 --- a/src/3rdparty/squirrel/squirrel/sqcompiler.cpp +++ b/src/3rdparty/squirrel/squirrel/sqcompiler.cpp @@ -597,6 +597,7 @@ public: } SQInteger Factor() { + _exst._deref = DEREF_NO_DEREF; switch(_token) { case TK_STRING_LITERAL: { -- cgit v1.2.3-70-g09d2