mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-26 20:14:46 +01:00
Reset origTokens in resetState()
In case one pretty printer is used in both preserving and non-preserving mode.
This commit is contained in:
parent
d16f050d74
commit
5054a68bfb
@ -152,6 +152,7 @@ abstract class PrettyPrinterAbstract
|
||||
protected function resetState() {
|
||||
$this->indentLevel = 0;
|
||||
$this->nl = "\n";
|
||||
$this->origTokens = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user