"Ferad Zyulkyarov" <[EMAIL PROTECTED]> writes:

> Please, would you suggest me any clues on how to get a tree node for a
> field of a variable within the AST.

Look in tree.def.

Given the RECORD_TYPE node, walk down TYPE_FIELDS looking for the
FIELD_DECL that you want.

To assign to a field use a COMPONENT_REF.

Ian

Reply via email to