#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Fri, 11 May 2018 09:45:21 +0200
changeset 4251 299bb2bfcc35
parent 4250 2903262d8033
child 4252 be79e76ee1d3
#REFACTORING by stefan class: ParserFlags class changed: #usedCompilerDefine
ParserFlags.st
--- a/ParserFlags.st	Fri May 11 09:40:31 2018 +0200
+++ b/ParserFlags.st	Fri May 11 09:45:21 2018 +0200
@@ -629,12 +629,8 @@
     "return the define to be used for the compiler toolchain.
      By default, the toolchain with which stx itself was compiled is used (getCCDefine);
      can be overwritten by setting ForcedCompiler"
-     
-    |dfn|
-
-    dfn := ForcedCompiler.
-    dfn isNil ifTrue:[ dfn := STCCompilerInterface getCCDefine].
-    ^ dfn
+
+    ^ ForcedCompiler ? STCCompilerInterface getCCDefine.
 
     "
      ForcedCompiler := DefineForCLANG.
@@ -643,8 +639,9 @@
      ForcedCompiler := nil.
      self usedCompilerDefine.
     "
-    
+
     "Created: / 20-07-2012 / 13:11:22 / cg"
+    "Modified: / 11-05-2018 / 09:44:34 / stefan"
 !
 
 vcTop:aPath