OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Macro trailing newline escape causes parsing error

Open amylizzle opened this issue 3 months ago • 2 comments

#define BLOODSUCKER_RESTRICTED_SPECIES list( \
    /datum/species/synthetic, \
    /datum/species/plasmaman, \
    /datum/species/shadow/nightmare, \
    /datum/species/abductor, \
    /datum/species/android, \
    /datum/species/golem, \
    /datum/species/shadow, \
    /datum/species/skeleton, \
    /datum/species/zombie, \
    /datum/species/mutant, \
    /datum/species/dullahan \
) \

/thing/stuff
    var/thing = BLOODSUCKER_RESTRICTED_SPECIES
    name = "oh no"

errors on name def, parsing error

amylizzle avatar Oct 27 '24 21:10 amylizzle