Rémi Bernon (@rbernon) commented about tools/widl/typetree.c:
error_loc("type %s already defined at %s:%d\n", type->name, type->where.input_name, type->where.first_line ); type->defined = TRUE;
- init_location(&type->where, NULL, NULL);
It would be better to pass the explicit token location from the parser instead of relying on the implicit global last location.