rpjohnst / dejavu

Game Maker reimplementation
https://dejavu.abubalay.com
Apache License 2.0
72 stars 7 forks source link

Actual meaning of missing -6 value in the list of 'constant-ish' GM keywords #47

Open cher-nov opened 4 years ago

cher-nov commented 4 years ago

https://github.com/rpjohnst/dejavu/blob/81c24b080c0623708567c3ccece7f0b102ee57ce/gml/src/vm/interpreter.rs#L109

https://github.com/rpjohnst/dejavu/blob/81c24b080c0623708567c3ccece7f0b102ee57ce/gml/src/front/codegen.rs#L88

https://github.com/OpenGM8/GM8Emulator/issues/21

Maybe you'll be interested in the real meaning of missing -6: it's so-called "unspecified scope". https://docs.yoyogames.com/source/dadiospice/002_reference/debugging/runner%20errors.html. AFAIK, it's used only for some error messages in pre-Studio versions of GM.