compiler/tests/PPCompiledExpressionGrammarResource.st
changeset 453 bd5107faf4d6
parent 443 2c87ed364404
parent 452 9f4558b3be66
child 454 a9cd5ea7cc36
--- a/compiler/tests/PPCompiledExpressionGrammarResource.st	Tue May 05 16:25:23 2015 +0200
+++ b/compiler/tests/PPCompiledExpressionGrammarResource.st	Sun May 10 06:46:56 2015 +0100
@@ -13,15 +13,19 @@
 !PPCompiledExpressionGrammarResource methodsFor:'as yet unclassified'!
 
 setUp
-        | time |
-        time := Time millisecondsToRun: [
-                PPExpressionGrammar new compileAs: #PPCompiledExpressionGrammar
-        ].
-        Transcript show: 'Exprssion grammar compiled in: '; show: time asString; show: 'ms'; cr.
+    | time configuration |
+    configuration := PPCLL1Configuration new.
+    configuration arguments name:#PPCompiledExpressionGrammar.
+    
+    
+    time := Time millisecondsToRun: [
+        PPExpressionGrammar new compileWithConfiguration: configuration.
+    ].
+    Transcript show: 'Exprssion grammar compiled in: '; show: time asString; show: 'ms'; cr.
 
     "Modified: / 01-05-2015 / 14:40:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
-
+    
 !PPCompiledExpressionGrammarResource class methodsFor:'documentation'!
 
 version_HG