How to access current (working) node in a code generator for LCC



Hi there

i have a question on the code generation intrinsics of LCC. I can't
seem to find any function for getting access of the current node, in an
explicit way.

Is there anything similar to:

struct Node GetCurrentNode()
{
...
}

in LCC 4.2???.

I would like to use an external code generator than the one in the .md
files. This code generator (project OPTIMIST) accepts the data-flow
trees in LCC-IR emitted by LCC 4.2. The main issue is that i don't know
how to access Node->syms[0]->x.name since i can't find any legal API
function for that.

thanks in advance

Nikolaos Kavvadias
nkavv-i'm an at-physics-i'm a dot-auth-i'm a dot-gr

.