I'm trying to use a #define function directive to remove string quotations. Kind of like the opposite of stringizing.
For example, if there was an operator to do this which I am representing as ~ (I know there isn't but if there was). I want it to be like:
#define macr(name) ~name
text macr("name") othertext
This would then turn it into:
text name othertext
Note I am not doing this to try and get a variable value, I am running a parser upon the outputted code afterwards. I know I could use the parser itself to remove the string quotations but I want to know if there is any possible way of doing this using the preprocessor?