compiler/tests/PPCTokenizingCodeGeneratorTest.st
changeset 535 a8feb0f47574
parent 534 a949c4fe44df
child 537 fb212e14d1f4
--- a/compiler/tests/PPCTokenizingCodeGeneratorTest.st	Sat Aug 29 07:56:14 2015 +0100
+++ b/compiler/tests/PPCTokenizingCodeGeneratorTest.st	Fri Sep 04 14:06:56 2015 +0100
@@ -37,23 +37,23 @@
 setUp
     options := PPCCompilationOptions default
         profile: true;
+        tokenize: true;
         yourself.       
 
     self cleanClass.
     
-    configuration := PPCPluggableConfiguration on: [ :_self | 
-        _self runPass: PPCCacheFirstFollowPass.
-        _self runPass: PPCTokenizingCodeGenerator. 
-        _self runPass: PPCFSAVisitor.
-        _self runPass: PPCTokenCodeGenerator.
-        _self runPass: PPCScannerCodeGenerator.        
-        _self generateScanner.
-        _self generateParser.
-    ] base: PPCConfiguration tokenizing.
+    configuration := PPCConfiguration new.
+    configuration passes: {
+        PPCCacheFirstFollowPass.
+        PPCTokenizingCodeGenerator. 
+        PPCFSAVisitor.
+        PPCTokenCodeGenerator.
+        PPCScannerCodeGenerator.        
+    }.
 
     configuration options: options.
 
-    "Modified: / 03-09-2015 / 22:34:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 04-09-2015 / 16:21:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 tearDown