Skip to content

Instantly share code, notes, and snippets.

Created August 5, 2014 19:57
Show Gist options
  • Save anonymous/4fabe7421046e7648829 to your computer and use it in GitHub Desktop.
Save anonymous/4fabe7421046e7648829 to your computer and use it in GitHub Desktop.
TRIPLESTR_LIT not working in places where STR_LIT does work
import macros
macro foo (first, second : expr) : stmt =
echo first
echo second
echo ""
discard
foo one, two
foo "three dogs", "four"
foo five, """six"""
discard """
output:
one
two
three dogs
four
five
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment