# New syntax for multi-line macrocalls

**URL:** <https://discourse.julialang.org/t/new-syntax-for-multi-line-macrocalls/21571>\
**Category:** Internals & Design\
**Tags:** proposal\
**Created:** [March 7, 2019, 1:45pm UTC](https://discourse.julialang.org/t/new-syntax-for-multi-line-macrocalls/21571 "2019-03-07T13:45:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [March 7, 2019, 8:33pm UTC](https://discourse.julialang.org/t/new-syntax-for-multi-line-macrocalls/21571/5 "2019-03-07T20:33:18Z")

</div>

Line continuation PR:

> <https://github.com/JuliaLang/julia/pull/29273>
>
> Closes #27533 by adding a line continuation character which is only valid in spa…ce sensitive parsing contexts (see https://github.com/JuliaLang/julia/issues/27533#issuecomment-422672161)
> 
> I've often wanted a nice way to continue space separated argument lists for macros across multiple lines. Resorting to function call syntax isn't very satisfying because it's quite syntactically different from the usual way that macros look in julia code.
> 
> Demo:
> 
> \`\`\`julia
> \# Valid - space sensitive context
> @info "A message which could be rather long" ⤸
> a="something more" ⤸
> b="another thing"
> 
> \# Invalid - there should only be one way to do this
> x = some\_variable ⤸
> + other\_variable
> \# Valid - the current, perfectly good convention for writing this
> x = some\_variable +
> other\_variable
> \`\`\`

---

_[View the full topic](https://discourse.julialang.org/t/new-syntax-for-multi-line-macrocalls/21571)._
