Browse Source

Remove a call to check "ErrorIfConst()" because it's not complete and was causing segfaults

mingodad 13 năm trước cách đây
mục cha
commit
c9cddd70ac
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      squirrel/sqcompiler.cpp

+ 0 - 1
squirrel/sqcompiler.cpp

@@ -442,7 +442,6 @@ public:
 			SQInteger pos = _es.epos;
 
 			if(ds == EXPR) Error(_SC("can't assign expression"));
-            ErrorIfConst();
 			Lex(); Expression();
 
 			switch(op){