[Prev][Next][Index]
SgForStmt::step() returns null
- Date: Thu, 1 Sep 94 16:59:59 -0700
- From: jackg@cache.crc.ricoh.com (Jack Greenbaum)
- To: sage-bugs@cica.indiana.edu
- Subject: SgForStmt::step() returns null
For a .dep file produced from the following C file:
main()
{
int x, y, z;
int w, q, j;
for (w = 0; w < 3; w++) {
printf("y\n");
}
}
SgForStmt::step() called on the SgForStmt representing the for
loop returns null. It seems to me that a SgExpression representing
"w < 3" should be returned. SgForStmt::end() also returns null, where I
would expect a SgExpression for "w++" to be returned.
Please get back to me about these. Perhaps I misunderstand what these
functions should return. In case it isn't obvious this is Sage++ 1.3.
Jack Greenbaum | Ricoh California Research Center
jackg@crc.ricoh.com | 2882 Sand Hill Rd. Suite 115
(415) 496-5711 voice | Menlo Parck, CA 94025-7002
(415) 854-8740 fax |