> That does not seem cause any trouble here.

Without a newline to the end of tuningx.h, I have a segfault caused by

  csound_prelex
    -> comment
       -> yy_get_next_buffer

It is strange a problem with EOF, but I have to investigate.

tito