Explorar el Código

Add a comment to the last fix on sq_compiler.

mingodad hace 8 años
padre
commit
79f10cd2e1
Se han modificado 1 ficheros con 1 adiciones y 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)  {