if ( ! lex_force_num (lexer)) return 0;
cstp->lo = lex_number (lexer);
lex_get (lexer);
- lex_force_match (lexer, T_COMMA);
+ if (! lex_force_match (lexer, T_COMMA)) return 0;
if (! lex_force_num (lexer) ) return 0;
cstp->hi = lex_number (lexer);
if ( cstp->lo >= cstp->hi )
cstp->expected = NULL;
if (lex_match_phrase (lexer, "/EXPECTED"))
{
- lex_force_match (lexer, T_EQUALS);
- if ( ! lex_match_id (lexer, "EQUAL") )
+ if (! lex_force_match (lexer, T_EQUALS)) return 0;
+ if (! lex_match_id (lexer, "EQUAL") )
{
double f;
int n;
{
btp->p = lex_number (lexer);
lex_get (lexer);
- lex_force_match (lexer, T_RPAREN);
+ if (!lex_force_match (lexer, T_RPAREN))
+ return 0;
}
else
return 0;
btp->cutpoint = btp->category1;
}
- lex_force_match (lexer, T_RPAREN);
+ if (! lex_force_match (lexer, T_RPAREN))
+ return 0;
}
}
else
{
mt->median = lex_number (lexer);
lex_get (lexer);
- lex_force_match (lexer, T_RPAREN);
+ if (! lex_force_match (lexer, T_RPAREN))
+ return 0;
}
lex_match (lexer, T_EQUALS);
if ( lex_match (lexer, T_LPAREN))
{
- if ( lex_force_num (lexer) )
+ if (lex_force_num (lexer) )
{
specs->timer = lex_number (lexer);
lex_get (lexer);
}
- lex_force_match (lexer, T_RPAREN);
+ if (lex_force_match (lexer, T_RPAREN))
+ return 0;
}
}
}