wal:
--------------------------------------------------------------------------------
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;
}
--------------------------------------------------------------------------------

Yes it's the same problem.

Other issues on code explorer:
- if the procedure is declared extern it's not shown in the code explorer;
- procedure pointers used as parameters in a procedure definition is shown but
should not if the parameter is on a new line.

Example, if:

[i]extern int proc( const int par1,
void (*par2)(void),
const int par3)[/i]

code explorer shows only:

void (*par2)(void)

If:

*extern int proc( const int par1, void (*par2)(void), const int par3)*

code explorer shows nothing.

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

Odpovedet emailem