Browse Source

Add a comment to the last fix on sq_compiler.

mingodad 8 years ago
parent
commit
79f10cd2e1
1 changed files with 1 additions and 1 deletions
  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)  {