raze/polymer/eduke32/source/lunatic/test/dangling_else.con
2012-06-13 23:13:26 +00:00

10 lines
304 B
Text

// 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