compiler/extensions.st
changeset 534 a949c4fe44df
parent 529 439c4057517f
child 537 fb212e14d1f4
equal deleted inserted replaced
533:666372dbe307 534:a949c4fe44df
   405 ! !
   405 ! !
   406 
   406 
   407 !PPParser methodsFor:'*petitcompiler'!
   407 !PPParser methodsFor:'*petitcompiler'!
   408 
   408 
   409 compile: options
   409 compile: options
       
   410     | configuration |
       
   411 
   410     self assert: (options isKindOf: PPCCompilationOptions).
   412     self assert: (options isKindOf: PPCCompilationOptions).
   411     
   413 
   412     ^ PPCConfiguration default
   414     configuration := PPCConfiguration default.
   413         options: options;
   415     configuration context options: options.
   414         compile: self
   416     ^ configuration compile: self
   415 
   417 
   416     "Modified: / 24-08-2015 / 23:39:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   418     "Modified: / 28-08-2015 / 14:25:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   417 ! !
   419 ! !
   418 
   420 
   419 !PPParser methodsFor:'*petitcompiler'!
   421 !PPParser methodsFor:'*petitcompiler'!
   420 
   422 
   421 compile: options andParse: input
   423 compile: options andParse: input