Christian Costa : d3dxof: Rewrite check_TOKEN and parse_TOKEN_* to work properly and be more logical .