[Prev][Next][Index]

"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.]