ByteCodeCompiler.st
branchjv
changeset 4115 27e61b5abc1e
parent 4028 8e7af453d137
parent 4101 dfb2a46bb26a
child 4259 c707f9aa7015
--- a/ByteCodeCompiler.st	Wed Jan 25 17:18:07 2017 +0000
+++ b/ByteCodeCompiler.st	Wed Feb 01 11:29:42 2017 +0000
@@ -802,7 +802,10 @@
 !
 
 ccCompilationOptions
-    "return the options used with cc compilation"
+    <resource: #obsolete>
+
+    "return the options used with cc compilation.
+     This method remains here for backward compatibility (older script files)"
 
     ^ ParserFlags ccCompilationOptions
 
@@ -814,9 +817,12 @@
 !
 
 ccCompilationOptions:aString
+    <resource: #obsolete>
+    
     "define the compilation options
      to be used when compiling to machine code.
-     These are passed to cc. Can be set from your private.rc file."
+     These are passed to cc. Can be set from your private.rc file.
+     This method remains here for backward compatibility (older script files)"
 
     ParserFlags ccCompilationOptions:aString
 
@@ -831,7 +837,10 @@
 !
 
 ccPath
-    "return the path to (name of) the cc command for incremental method compilation"
+    <resource: #obsolete>
+
+    "return the path to (name of) the cc command for incremental method compilation.
+     This method remains here for backward compatibility (older script files)"
 
     ^ ParserFlags ccPath
 
@@ -847,7 +856,10 @@
 !
 
 ccPath:aPathOrCommandName
-    "set the path to the cc command for incremental method compilation"
+    <resource: #obsolete>
+
+    "set the path to the cc command for incremental method compilation.
+     This method remains here for backward compatibility (older script files)"
 
     ParserFlags ccPath:aPathOrCommandName
 
@@ -863,6 +875,8 @@
 !
 
 stcCompilation
+    <resource: #obsolete>
+
     "return the flag which controls compilation to machine code.
      If #always, methods are always compiled to machine code (which takes
      longer, but provides faster code). If #none, methods are never compiled
@@ -871,7 +885,8 @@
      Anything else lets the compiler compile to bytecode,
      except for methods containing primitive code.
      This can be set from your private.rc file or from a workspace
-     for selective compilation to machine code."
+     for selective compilation to machine code.
+     This method remains here for backward compatibility (older script files)"
 
     ^ ParserFlags stcCompilation
 
@@ -881,6 +896,8 @@
 !
 
 stcCompilation:how
+    <resource: #obsolete>
+
     "set the flag which controls compilation to machine code.
      If #always, methods are always compiled to machine code (which takes
      longer, but provides faster code). If #none, methods are never compiled
@@ -889,7 +906,8 @@
      Anything else lets the compiler compile to bytecode,
      except for methods containing primitive code.
      This can be set from your private.rc file or from a workspace
-     for selective compilation to machine code."
+     for selective compilation to machine code.
+     This method remains here for backward compatibility (older script files)"
 
     |ret|
 
@@ -905,15 +923,21 @@
 !
 
 stcCompilationDefines
-    "return the defines used with stc compilation"
+    <resource: #obsolete>
+
+    "return the defines used with stc compilation.
+     This method remains here for backward compatibility (older script files)"
 
     ^ ParserFlags stcCompilationDefines
 !
 
 stcCompilationDefines:aString
+    <resource: #obsolete>
+
     "define the flags (for example, additional -D defines)
      to be used when compiling to machine code.
-     These are passed to stc. Can be set from your private.rc file."
+     These are passed to stc. Can be set from your private.rc file.
+     This method remains here for backward compatibility (older script files)"
 
     ParserFlags stcCompilationDefines:aString
 
@@ -926,14 +950,20 @@
 !
 
 stcCompilationIncludes
-    "return the includes used with stc compilation"
+    <resource: #obsolete>
+
+    "return the includes used with stc compilation.
+     This method remains here for backward compatibility (older script files)"
 
     ^ ParserFlags stcCompilationIncludes
 !
 
 stcCompilationIncludes:aString
+    <resource: #obsolete>
+
     "define the include directories via additional -I flags.
-     These are passed to stc. Can be set in your private.rc file"
+     These are passed to stc. Can be set in your private.rc file.
+     This method remains here for backward compatibility (older script files)"
 
     ParserFlags stcCompilationIncludes:aString
 
@@ -946,15 +976,21 @@
 !
 
 stcCompilationOptions
-    "return the options used with stc compilation"
+    <resource: #obsolete>
+
+    "return the options used with stc compilation.
+     This method remains here for backward compatibility (older script files)"
 
     ^ ParserFlags stcCompilationOptions
 !
 
 stcCompilationOptions:aString
+    <resource: #obsolete>
+
     "define the compilation options
      to be used when compiling to machine code.
-     These are passed to stc. Can be set from your private.rc file."
+     These are passed to stc. Can be set from your private.rc file.
+     This method remains here for backward compatibility (older script files)"
 
     ParserFlags stcCompilationOptions:aString
 
@@ -964,7 +1000,10 @@
 !
 
 stcModulePath
-    "return the path, where temporary modules are created"
+    <resource: #obsolete>
+
+    "return the path, where temporary modules are created.
+     This method remains here for backward compatibility (older script files)"
 
     ^ ParserFlags stcModulePath
 
@@ -972,10 +1011,13 @@
 !
 
 stcModulePath:aPath
+    <resource: #obsolete>
+
     "set the path to the directory, where temporary modules are created.
      Obsolete; knowledge moved to parserFlags,
      where it is also obsolete now, as this should not be set from the outside,
-     but instead rely totally on the userPreferences."
+     but instead rely totally on the userPreferences.
+     This method remains here for backward compatibility (older script files)"
 
     ParserFlags stcModulePath:aPath
 
@@ -983,7 +1025,10 @@
 !
 
 stcPath
-    "return the path to the stc command, or nil if not found."
+    <resource: #obsolete>
+
+    "return the path to the stc command, or nil if not found.
+     This method remains here for backward compatibility (older script files)"
 
     ^ ParserFlags stcPath
 
@@ -995,7 +1040,10 @@
 !
 
 stcPath:aPath
-    "set the path to the stc command - useful if private stc is wanted"
+    <resource: #obsolete>
+
+    "set the path to the stc command - useful if private stc is wanted.
+     This method remains here for backward compatibility (older script files)"
 
     ParserFlags stcPath:aPath