--- a/compiler/tests/PPCTokenizingCodeGeneratorTest.st Mon Sep 07 08:03:02 2015 +0100
+++ b/compiler/tests/PPCTokenizingCodeGeneratorTest.st Mon Sep 07 08:20:46 2015 +0100
@@ -4,7 +4,7 @@
PPAbstractParserTest subclass:#PPCTokenizingCodeGeneratorTest
instanceVariableNames:'visitor node result compiler parser context options tokenizer
- whitespace configuration'
+ whitespace'
classVariableNames:''
poolDictionaries:''
category:'PetitCompiler-Tests-Visitors'
@@ -26,7 +26,7 @@
!
compileTree: root
- parser := configuration compile: root.
+ parser := compiler compile: root.
!
@@ -35,23 +35,20 @@
!
setUp
- options := PPCCompilationOptions default
- profile: true;
- tokenize: true;
- yourself.
-
+ options := (PPCCompilationOptions default)
+ profile:true;
+ tokenize:true;
+ yourself.
self cleanClass.
-
- configuration := PPCConfiguration new.
- configuration passes: {
- PPCCacheFirstFollowPass.
- PPCTokenizingCodeGenerator.
- PPCFSAVisitor.
- PPCTokenCodeGenerator.
- PPCScannerCodeGenerator.
- }.
-
- configuration options: options.
+ compiler := PPCCompiler new.
+ compiler passes:{
+ PPCCacheFirstFollowPass.
+ PPCTokenizingCodeGenerator.
+ PPCFSAVisitor.
+ PPCTokenCodeGenerator.
+ PPCScannerCodeGenerator
+ }.
+ compiler options:options.
"Modified: / 04-09-2015 / 16:21:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!