compiler/PPCNode.st
changeset 503 ff58cd9f1f3c
parent 494 5cdfa83d6027
parent 502 1e45d3c96ec5
child 516 3b81c9e53352
--- a/compiler/PPCNode.st	Fri Jun 19 08:13:39 2015 +0100
+++ b/compiler/PPCNode.st	Fri Jul 24 15:37:23 2015 +0100
@@ -242,7 +242,7 @@
         finite := self.
         infinite := anotherNode.
     ] ifFalse: [ 
- 				finite := anotherNode.
+ 								finite := anotherNode.
         infinite := self.	
     ].
         
@@ -525,6 +525,10 @@
 
 !PPCNode methodsFor:'testing'!
 
+canHavePPCId
+    ^ true
+!
+
 isMarkedForInline
     ^ self propertyAt: #inlined ifAbsent: [ false ].
 
@@ -551,6 +555,12 @@
     ^ self
 !
 
+asFsa
+    | visitor |
+    visitor := PEGFsaGenerator new.
+    ^ visitor visit: self
+!
+
 replace: node with: anotherNode
 !