# HG changeset patch # User Jan Vrany # Date 1415412525 0 # Node ID 5c502ab8e87db093c9e595ec5c0726efa42a1f44 # Parent b3080b20b14ca80c0431b1cedca28e78ed120595 Commented JK's debugging code. diff -r b3080b20b14c -r 5c502ab8e87d compiler/PPCContext.st --- a/compiler/PPCContext.st Sat Nov 08 01:03:21 2014 +0000 +++ b/compiler/PPCContext.st Sat Nov 08 02:08:45 2014 +0000 @@ -7,6 +7,7 @@ category:'PetitCompiler-Context' ! + !PPCContext class methodsFor:'as yet unclassified'! new @@ -234,19 +235,23 @@ ! remember - | memento | + | memento | " - ^ position + ^ position " - memento := PPCContextMemento new - position: position; - yourself. - - self rememberProperties: memento. - "JK: Just while developing" - rc := rc + 1. - (rc > ((self size + 1)* 1000*1000)) ifTrue: [ self error: 'Hey, this is not normal, is it?' ]. - ^ memento + memento := PPCContextMemento new + position: position; + yourself. + + self rememberProperties: memento. + "JK: Just while developing" + " + rc := rc + 1. + (rc > ((self size + 1)* 1000*1000)) ifTrue: [ self error: 'Hey, this is not normal, is it?' ]. + " + ^ memento + + "Modified (comment): / 08-11-2014 / 02:08:19 / Jan Vrany " ! rememberProperties: aPPContextMemento @@ -281,3 +286,10 @@ ] ! ! +!PPCContext class methodsFor:'documentation'! + +version_HG + + ^ '$Changeset: $' +! ! +