Spurious "" passed as argument to triplequote macro?

54 views
Skip to first unread message

Scott Jones

unread,
Jun 22, 2015, 11:41:27 AM6/22/15
to juli...@googlegroups.com
I'm trying to revamp the `triplequote` code, used by the special `m_str` macro to handle """,
however, it seems to be getting passed an extra argument, and I wondered if that was expected...

Julia> z = """
           $s
           $s"""

Any["\n    ",:($(Expr(:escape, :s))),"\n    ",:($(Expr(:escape, :s))),""]

 Thanks!
Reply all
Reply to author
Forward
0 new messages