ID:2921563
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
This is the current syntax, DM sample in document.

 client/verb/loners()
var/mob/M
var/mob/G

usr << "Loners:"
finding_loners:
for(M in world)
for(G in world)
if(M in G.group) continue finding_loners

//found a loner
usr << M.name


As you can see, using label: should be only allowed with an additional indent,
and additional indent makes the code difficult to read.
If "label:" can be attached next to for()/while()...

 client/verb/loners()
var/mob/M
var/mob/G

usr << "Loners:"
for(M in world) :finding_loners
for(G in world)
if(M in G.group) continue finding_loners

//found a loner
usr << M.name


var/thing
var/something
while(thing) :labelthing
while(something)
if(some condition) continue labelthing
if(another condition) break labelthing


This can reduce the size of indentation gap
That isn't really a viable syntax. I'd rather look for ways to make the label work without the indentation.