[Prev][Next][Index]

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   |