/* Parse and Translate a Boolean Term * <bool_term> ::= <not_factor> ( and_op <not_factor )* * */ void BoolTerm() { NotFactor(); while(Token == '&') { Push(); Next(); NotFactor(); PopAnd(); } }
void BoolTerm(void) { NotFactor(); while (Token[0]=='&') { Push(); MatchString("&"); NotFactor(); PopAnd(); } }
void BoolTerm() { NotFactor(); NewLine(); while(Look == '&') { Push(); Match('&'); NotFactor(); PopAnd(); NewLine(); } }