You are right, but it is hard to parse all IDL syntax correctly with a simple script. Of course I can parse and check it with OCaml or something like a parser generator. So, my idea is to fix IDLs.