#include <config.h>
#include "do-ifP.h"
-#include <assert.h>
+#include "error.h"
#include <stdlib.h>
#include "alloc.h"
#include "command.h"
{
struct do_if_trns *t;
- lex_match_id ("ELSE");
-
/* Check that we're in a pleasing situation. */
if (!ctl_stack || ctl_stack->type != CST_DO_IF)
{
/* List iterator. */
struct do_if_trns *iter;
- lex_match_id ("IF");
-
/* Check that we're in a pleasing situation. */
if (!ctl_stack || ctl_stack->type != CST_DO_IF)
{
struct do_if_trns *t;
struct expression *e;
- lex_match_id ("IF");
-
- e = expr_parse (PXP_BOOLEAN);
+ e = expr_parse (EXPR_BOOLEAN);
if (!e)
return NULL;
if (token != '.')