[Prev][Next][Index]
Re: Multiple file projects
- Date: Tue, 19 Dec 1995 16:17:24 +0100
- From: (Andre Christanell) <achrist@student2.guppy.uni-linz.ac.at>
- To: P.E.R.Galloway@ecs.soton.ac.uk
- Subject: Re: Multiple file projects
- Cc: sage-bugs@rainier.extreme.indiana.edu
- Sender: owner-sage-bugs@extreme.indiana.edu
I had the same problems, parsing a set of C .dep files and storing
some SgExpression pointers for later usage. Some of these SgExpression's
were later pointing to different SgExpression's.
My workaround is:
1) remembering the index of the file for the selected SgExpression's,
2) activating the corresponding file with
SgFile *f=project->file(fileindex); // project instance of class SgProject
before working with an SgExpression
I hope this information helps.
Andre Christanell