You're not doing anything wrong at all – this is a parser bug. Would you be willing to file an issue on github? https://github.com/JuliaLang/julia/issues/new
On Thu, Feb 13, 2014 at 9:50 AM, Laszlo Hars <[email protected]> wrote: > I wanted (in a macro) to print out quoted string literals, like "a", given > as parameters (0.3.0 prerelease). This is how the manual suggests to do it > at a Julia prompt, but it does not work: > print(""""a"""") > I guess, the parser should catch the first three " characters, then get > into another state, in where it should look for the last three " > characters. But it does not. > I could use single double quotes in both ends, and replace the inside > quotes with \", but it is not nice. Am I doing something wrong? >
