I wondered about this case but it didn't come up with the subset I tested with -- glad you caught it. V2 looks good to me. It's hard to be rigorous about detecting #version directives without a real parser. This seems a practical compromise. Stuart