Hmm.
I have edited the code in the IDE tab to insert newlines at the appropriate places and at least it compiles now.
However, if I open the original .c file it has not changed ! Clearly what I am editing in the IDE is NOT the file that I selected. Labelling the tab with the file name is very misleading. On the evidence of what I'm seeing it clearly is now something else.
Is there a description of all this voodoo somewhere?
thanks again.