Watching My Function Parser

Watching My Function Parser

Community Admin's picture

Steve,

A while ago you pointed us at a FORTRAN function parser:
http://www.its.uni-karlsruhe.de/~schmehl/functionparserE.html

I've found this parser very useful, but I can't seem to watch the parser's internal stack variables in the debugger. Is this because it isn't possible, or because I'm doing something wrong?

The stack and it's pointers are defined in a structure thus:

TYPE tLogComp
INTEGER(is), DIMENSION(:), POINTER :: ByteCode
INTEGER :: ByteCodeSize
LOGICAL, DIMENSION(:), POINTER :: Immed
INTEGER :: ImmedSize
LOGICAL, DIMENSION(:), POINTER :: Stack
INTEGER :: StackSize, StackPtr
END TYPE tLogComp
TYPE (tLogComp), DIMENSION(:), POINTER :: Comp ! Bytecode


If I try to watch anything in Comp I get an 'Undefined variable message, even when this have been allocated...

Any ideas?

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.