SpacemanDMM icon indicating copy to clipboard operation
SpacemanDMM copied to clipboard

Variable declarations are inconsistent between type tree and procs

Open SpaceManiac opened this issue 5 years ago • 0 comments

Outside of procs (in the type tree), the following is not parsed correctly:

/datum
    var foo = 5

Inside of procs, the following is not parsed correctly (see also #45):

/proc/foo()
    var { bar = 5; baz = 6 }

The inside-procs and outside-procs code paths for var declarations probably need to be merged.

SpaceManiac avatar Feb 23 '19 01:02 SpaceManiac