diff options
| author | Juan Linietsky | 2015-01-06 00:39:35 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-01-06 00:39:35 -0300 |
| commit | bd0356207631602f35e2111bc73bca2bd53e91a1 (patch) | |
| tree | 6d8fd9e373913496281aed33016d0b4f6aa7a8dc /bin/tests/test_gdscript.cpp | |
| parent | f75ae815d51571287892d77414d45e15bfdb849b (diff) | |
| download | godot-bd0356207631602f35e2111bc73bca2bd53e91a1.tar.gz godot-bd0356207631602f35e2111bc73bca2bd53e91a1.tar.zst godot-bd0356207631602f35e2111bc73bca2bd53e91a1.zip | |
Diffstat (limited to 'bin/tests/test_gdscript.cpp')
| -rw-r--r-- | bin/tests/test_gdscript.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/tests/test_gdscript.cpp b/bin/tests/test_gdscript.cpp index b62deee2c..4b4030954 100644 --- a/bin/tests/test_gdscript.cpp +++ b/bin/tests/test_gdscript.cpp @@ -738,6 +738,26 @@ static void _disassemble_class(const Ref<GDScript>& p_class,const Vector<String> incr=4+argc; } break; + case GDFunction::OPCODE_YIELD: { + + txt+=" yield "; + incr=1; + + } break; + case GDFunction::OPCODE_YIELD_SIGNAL: { + + txt+=" yield_signal "; + txt+=DADDR(1); + txt+=","; + txt+=DADDR(2); + incr=3; + } break; + case GDFunction::OPCODE_YIELD_RESUME: { + + txt+=" yield resume: "; + txt+=DADDR(1); + incr=2; + } break; case GDFunction::OPCODE_JUMP: { txt+=" jump "; |
