Example #1
0
File: parse_op.cpp Project: 8l/zl
 virtual void parse_self(const Syntax * p) {
   if (p->is_a("bin"))
     type = Bin;
   else if (p->is_a("prefix"))
     type = Prefix;
   else if (p->is_a("postfix"))
     type = Postfix;
   else if (p->is_a("exp"))
     type = Other;
   else if (p->is_a("special"))
     type = Special;
   else
     abort();
   parse = p->arg(0);           ;
   name = parse->what();
   parse_match_op(p->arg(1));
 }