Commit 789efa79 by Alexis Ragot

fix function parameter of Language class

parent d946907f
......@@ -8,11 +8,12 @@ class Func
/* Properties */
public $args;
public $name;
/* Methods */
public function __construct($name, $args)
{
$this->code = $code;
$this->name = $name;
$this->args = $args;
}
......
......@@ -1083,10 +1083,10 @@ abstract class AbstractCompiler
protected function getFuncExpression($func)
{
switch($func->code) {
//switch($func->code) {
//case LAABS_T_IS_NULL:
// return $this->getOperandExpression($func->parameters[0]) . " IS NULL";
}
//}
}
protected function getOperandExpression($operand, $cast=false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment