--- a/PPDelegateParser.st Tue Mar 04 15:32:21 2014 +0100
+++ b/PPDelegateParser.st Tue Mar 04 15:32:24 2014 +0100
@@ -14,6 +14,13 @@
^ self new setParser: aParser
! !
+!PPDelegateParser methodsFor:'*petitanalyzer-transforming'!
+
+replace: aParser with: anotherParser
+ super replace: aParser with: anotherParser.
+ parser == aParser ifTrue: [ parser := anotherParser ]
+! !
+
!PPDelegateParser methodsFor:'accessing'!
children
@@ -35,13 +42,14 @@
!PPDelegateParser class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPDelegateParser.st,v 1.3 2012-05-04 22:01:50 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPDelegateParser.st,v 1.4 2014-03-04 14:32:24 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPDelegateParser.st,v 1.3 2012-05-04 22:01:50 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPDelegateParser.st,v 1.4 2014-03-04 14:32:24 cg Exp $'
!
version_SVN
- ^ '§Id: PPDelegateParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
+ ^ '$Id: PPDelegateParser.st,v 1.4 2014-03-04 14:32:24 cg Exp $'
! !
+