1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Merge pull request #64 from ebernhardson/master

Replace non-existant constant T_ABS
This commit is contained in:
Guilherme Blanco 2011-12-13 20:04:23 -08:00
commit 373090f223

View File

@ -626,7 +626,8 @@ classes have to implement the base class :
namespace MyProject\Query\AST;
use \Doctrine\ORM\Query\AST\Functions\FunctionNode;
use \Doctrine\ORM\Query\Lexer;
class MysqlFloor extends FunctionNode
{
public $simpleArithmeticExpression;
@ -642,7 +643,7 @@ classes have to implement the base class :
{
$lexer = $parser->getLexer();
$parser->match(Lexer::T_ABS);
$parser->match(Lexer::T_IDENTIFIER);
$parser->match(Lexer::T_OPEN_PARENTHESIS);
$this->simpleArithmeticExpression = $parser->SimpleArithmeticExpression();