See: https://github.com/ivarne/julia/commit/b655714d275a5ad83801275b74a64daa020d7467#commitcomment-5410151
I am not sure what the best approach is. I wanted to solve the problem at hand in a efficient way, so I picked a very specific solution. Maybe the more general solution using macroexpand is better because it also solves other problems, but I still can not see what problems it solves. None of the string macros I know return strings, so I do not think there is much to gain. Ivar kl. 16:09:14 UTC+1 tirsdag 18. februar 2014 skrev Ismael VC følgende: > > Sorry again, I don't understand! I don't see any call to macroexpand in > your commit, but I'll keep trying to understand the code, by the way this > macroexpand function is not documented in the manual :( > > Ismael VC > > > El martes, 18 de febrero de 2014 05:01:34 UTC-6, Ivar Nesje escribió: >> >> You will have to do the macroexpand inside the `@printf` macro >> definition. I did fast attempt in >> https://github.com/JuliaLang/julia/pull/5847, and we will se how it goes. >> >> Ivar >> >