[Prev][Next][Index]
"continue" not understood
- From: Andrew Mauer <mauer@mcs.anl.gov>
- Date: Wed, 6 Jul 1994 14:19:49 -0500
- To: sage-bugs@cica.indiana.edu
- Subject: "continue" not understood
Here's another I stumbled across. The dep file seems OK (has a
CONTINUE_NODE).
/Andrew/
** "continue" is not understood by unparse.
Here is a needlessly long test program.
Input:
------------------------------------------------------------------------
#include <stdio.h>
int main (void)
{
int i = 0;
while (i == 0)
{
i = i +1;
continue;
i = i + 1;
}
printf ("i = %d\n",i);
return 0;
}
------------------------------------------------------------------------
Output:
------------------------------------------------------------------------
Warning : --- stmt unparsing error[1] :
int main(void ){
int i = 0;
while (i == 0)
{
i = i + 1;
*** UNPARSING ERROR OCCURRED HERE ***
i = i + 1;
}
printf("i = %d\n", i);
return 0;
}
------------------------------------------------------------------------
[Reported to sage-bugs.]