Changes:
+ * added null as an alias for none
+ * made TRUE, FALSE, NONE equivalent to their lowercase counterparts
* wrapped all runtime exceptions with Twig_Error_Runtime and added logic to guess the template name and line
* moved display() method to Twig_Template (generated templates should now use doDisplay() instead)
$this->parser->getStream()->next();
switch ($token->getValue()) {
case 'true':
+ case 'TRUE':
$node = new Twig_Node_Expression_Constant(true, $token->getLine());
break;
case 'false':
+ case 'FALSE':
$node = new Twig_Node_Expression_Constant(false, $token->getLine());
break;
case 'none':
+ case 'NONE':
+ case 'null':
+ case 'NULL':
$node = new Twig_Node_Expression_Constant(null, $token->getLine());
break;