/* Dap identifiers will come to use encoded, so we must decode them; It turns out that we can use ocuridecode because dap specifies %xx encoding. */ char* dapdecode(DAPlexstate* lexstate, char* name) { char* decoded; decoded = ocuridecode(name); oclistpush(lexstate->reclaim,(ocelem)decoded); return decoded; }
char* dapdecode(DAPlexstate* lexstate, char* name) { char* decoded = NULL; #ifdef DECODE_IDENTIFIERS decoded = ocuridecode(name); #else decoded = ocuridecodeonly(name,decodelist); #endif oclistpush(lexstate->reclaim,(void*)decoded); return decoded; }