Reset origTokens in resetState()

In case one pretty printer is used in both preserving and
non-preserving mode.
This commit is contained in:
Nikita Popov 2017-10-29 13:28:46 +01:00
parent d16f050d74
commit 5054a68bfb

View File

@ -152,6 +152,7 @@ abstract class PrettyPrinterAbstract
protected function resetState() {
$this->indentLevel = 0;
$this->nl = "\n";
$this->origTokens = null;
}
/**