function yy_r18()
{
$this->yystack[$this->yyidx + -5]->minor = strtolower($this->yystack[$this->yyidx + -5]->minor);
if ($this->yystack[$this->yyidx + -5]->minor != 'on' && $this->yystack[$this->yyidx + -5]->minor != 'off') {
$this->Error("Invalid autoescape param (" . $this->yystack[$this->yyidx + -5]->minor . "), it must be on or off");
}
if ($this->yystack[$this->yyidx + -1]->minor != "endautoescape") {
$this->Error("Invalid close tag " . $this->yystack[$this->yyidx + -1]->minor . ", it must be endautoescape");
}
$this->_retvalue = array('operation' => 'autoescape', 'value' => $this->yystack[$this->yyidx + -5]->minor, 'body' => $this->yystack[$this->yyidx + -3]->minor);
}