예제 #1
0
bool WhereMatcher::parse_not() {
  bool left = parse_conditional();
  Token t = stream_get();

  if (t.first == bool_not) {
    return !left;
  } else {
    if (t.first != value_undefined_type)
      stream_unget(t);
    return left;
  }
}
예제 #2
0
파일: parser.c 프로젝트: stonegao/mirb
struct node *parse_statement(struct compiler *compiler)
{
    return parse_conditional(compiler);
}