# Set 1: Description file parser
#-------------------------------
#
test Empty file
descr
end
error empty description
#______________________________________________________________________________
#
test Bad class
descr
  unknown "anyname" CONFIG_FOO
end
error Unknown class
#______________________________________________________________________________
#
test Missing label(s)
descr
  comment {
  }
end
error string expected instead of {
#______________________________________________________________________________
#
test Missing short label
descr
  comment "Long": {
  }
end
error string expected instead of {
#______________________________________________________________________________
#
test No default in choice
descr
  choice Test VAR {
    one {
    }
    two {
    }
  }
end
keys QY
#______________________________________________________________________________
#
test Multiple defaults in choice
descr
  choice Test VAR {
    one * {
    }
    two * {
    }
  }
end
error multiple defaults in choice
