pspad:
--------------------------------------------------------------------------------
fubo:
--------------------------------------------------------------------------------
Hi all,

Code explorer for C is broken from last beta release. Basically a line like "if(
... )" is treated as a function because it ends without ";", so it's reported in
Function pane.
--------------------------------------------------------------------------------


Sorry, I can't simulate it. Send me some example what causes this problem.
--------------------------------------------------------------------------------


I am not sure if this is the same problem, but C/C++ code explorer shows line
_if (b == 0)_ as function in following example:

void test1( void)
{
  #ifdef X
    // some code...
  #else
    if (a == 0) {
      // some code...
      #ifdef Y
        // some code...
      #endif
    }
  #endif

  if (b == 0)
    a = 0;
}

-- 
<http://forum.pspad.com/read.php?6,43207,43398>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem