--- a/compiler/tests/extras/PPCSmalltalkParserTests.st Mon Aug 17 12:13:16 2015 +0100
+++ b/compiler/tests/extras/PPCSmalltalkParserTests.st Mon Aug 24 15:34:14 2015 +0100
@@ -45,6 +45,12 @@
"Created: / 29-07-2015 / 16:54:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
+compiledScannerClassName
+ "Return the name of the compiled scanner"
+
+ ^ (self petitParserClass name , 'C_Scanner') asSymbol
+!
+
compilerConfiguration
"Return configuration to use when compiling parser (as instance of PPCConfiguration)"
@@ -90,6 +96,8 @@
configuration := self compilerConfiguration.
configuration arguments parserName: self compiledParserClassName.
+ configuration arguments scannerName: self compiledScannerClassName.
+
time := Time millisecondsToRun: [
self petitParser compileWithConfiguration: configuration.
].