raze/polymer/eduke32/source/lunatic/test/dangling_else.con

11 lines
304 B
Text
Raw Normal View History

// a dangling 'else' in CON attaches to the outermost matching 'if'
onevent EVENT_INIT
redefinequote 114 DANGLING ELSE CHECK FAILED 1
ifvare 0 1
ifvare 0 0 redefinequote 114 DANGLING ELSE CHECK FAILED 2
else
redefinequote 114 DANGLING ELSE CHECK PASSED
echo 114
endevent