Explorar o código

Add a comment to the last fix on sq_compiler.

mingodad %!s(int64=8) %!d(string=hai) anos
pai
achega
79f10cd2e1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SquiLu/squirrel/sqcompiler.cpp

+ 1 - 1
SquiLu/squirrel/sqcompiler.cpp

@@ -886,7 +886,7 @@ public:
             id = _fs->CreateString(_lex.data->svalue);
         }
         //else id = {}; //old compilers do not allow this
-        else id._type = OT_NULL;
+        else id._type = OT_NULL; //segfault without it with gcc -O3
 
 		LogicalOrExp();
 		switch(_token)  {