瀏覽代碼

Add a comment to the last fix on sq_compiler.

mingodad 8 年之前
父節點
當前提交
79f10cd2e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)  {