compiler/tests/PPCLTokenizingOptimizationTest.st
changeset 535 a8feb0f47574
parent 534 a949c4fe44df
child 537 fb212e14d1f4
equal deleted inserted replaced
534:a949c4fe44df 535:a8feb0f47574
    15 assert: object type: class
    15 assert: object type: class
    16     self assert: (object isKindOf: class)
    16     self assert: (object isKindOf: class)
    17 !
    17 !
    18 
    18 
    19 configuration
    19 configuration
    20     configuration := PPCTokenizingConfiguration new.
    20     configuration := PPCConfiguration new.
    21     configuration context options generate: false.
    21     configuration context options 
       
    22         generate: false;
       
    23         tokenize: true.
    22     ^ configuration
    24     ^ configuration
    23 
    25 
    24     "Modified: / 28-08-2015 / 14:17:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    26     "Modified: / 04-09-2015 / 16:21:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    25 !
    27 !
    26 
    28 
    27 optimize: aPPParser
    29 optimize: aPPParser
    28     ^ self configuration compile: aPPParser.
    30     ^ self configuration compile: aPPParser.
    29 !
    31 !