! Tests for using "ELSE IF" (with a space) in place of "ELSEIF" (no space), see Bug 1675.
!
!          ********************************************************
!          * This is an invalid macro used to test macro parsing. *
!          ********************************************************
!
! Author:  J. Czechowski IV
! Since:   NeXtMidas 2.7.0
! Version: $Id: test_macro_bad_else.mm,v 1.1 2008/11/23 22:55:20 jxc Exp $
startmacro
  assert/text="This should not run" false isTrue

  if 1 eq 2 then
    say "ERROR"
  else if 1 eq 1 then ! <-- invalid space between "else" and "if"
    say "ERROR"
  endif
endmacro