SpacemanDMM
SpacemanDMM copied to clipboard
VarDeclaration have incorrect locations
/datum
var/bar
/datum/proc/foo()
bar's location is incorrectly reported at what i assume is the next token, foo()
same for
datum_flags = NONE
it reports the location as the = not the var name
This will also apply across file boundaries, if the last token in a file is a var decl then it reports the location as the first token in the next file in the .dme
As far as I can tell it's reporting the location as the end of the whitespace following the identifier, rather than the next token.