Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Watching My Function Parser

Intel_C_Intel
Employee
333 Views
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?
0 Kudos
0 Replies
Reply