Ejemplo n.º 1
0
 function expr_op_unary()
 {
     global $type, $val, $next, $nextval, $jsp_i;
     switch ($val) {
         case "~":
         case "!":
         case "+":
         case "-":
             return array(JS_MATH, 0, $val, jsc::expr_value());
         default:
             jsc::bug("unary operator mistake");
     }
 }