/proc/doubleIncrement(X)
x++ EOL X++
return
//This would be expanded to:
/proc/doubleIncrement(X)
X++
X++
return
This is obviously a trivial example, the actual use cases here mainly involve implementing metaprogramming functionality and building workarounds for compiler limitations (eg the #include statement's "convenient addition", which gives a textbook example of abstraction inversion due to framework design flaw by breaking every single one of its code reuse applications).
Already tried newline in multi-line comment (this works in GCC/G++): the compiler strips comments before expansion and has no options to change this behavior. Also tried all of the ASCII control sequences: the compiler strips them all except for SUB (which it interprets as EOF). Also tried inserting the numerical value in ASCII in various formats: no dice there either. Tried brackets, the pre-processor doesn't recognize them. Tried docstrings, they're treated like the multi-line comments. Finally, also tried #including a file with one or more EOLs in it: the BYOND pre-processor does not provide any way to store the result in a var or define.
Any ideas?
If you just want to insert two statements on the same line, use a semicolon.