[Gd-chatter] r11233 - in trunk/src: common d2c/compiler/main d2c/runtime d2c/runtime/Macintosh/d2c Runtime Heap Stub tools/melange tools/pidgin/src tools/refman

prom at gwydiondylan.org prom at gwydiondylan.org
Sat Mar 10 19:29:57 CET 2007


Author: prom
Date: Sat Mar 10 19:29:51 2007
New Revision: 11233

Modified:
   trunk/src/common/Makegen
   trunk/src/d2c/compiler/main/Makegen
   trunk/src/d2c/compiler/main/main-exports.dylan
   trunk/src/d2c/compiler/main/main.dylan
   trunk/src/d2c/runtime/Macintosh/d2c Runtime Heap Stub/runtime-heap-app-exports.dylan
   trunk/src/d2c/runtime/Makegen
   trunk/src/tools/melange/Makegen
   trunk/src/tools/melange/exports.dylan
   trunk/src/tools/pidgin/src/Makegen
   trunk/src/tools/pidgin/src/ansi-c-test-exports.dylan
   trunk/src/tools/pidgin/src/pidgin-exports.dylan
   trunk/src/tools/refman/Makegen
   trunk/src/tools/refman/refman-library.dylan
Log:
Job: minor
Switched GD_2_5 from getopt to command-line-parser.


Modified: trunk/src/common/Makegen
==============================================================================
--- trunk/src/common/Makegen	(original)
+++ trunk/src/common/Makegen	Sat Mar 10 19:29:51 2007
@@ -15,7 +15,7 @@
 		   'regular-expressions',
 		   'io',
 		   'system',
-		   'getopt',
+		   'command-line-parser',
 		   'stream-ext');
 
   if($features{'compiled_for_unix'}) {

Modified: trunk/src/d2c/compiler/main/Makegen
==============================================================================
--- trunk/src/d2c/compiler/main/Makegen	(original)
+++ trunk/src/d2c/compiler/main/Makegen	Sat Mar 10 19:29:51 2007
@@ -35,9 +35,9 @@
 $D2CFLAGS         # added by update-libdirs
     = $d2c_runtime
     . ' -L../../../common/collection-extensions'
+    . ' -L../../../common/command-line-parser'
     . ' -L../../../common/command-processor'
     . ' -L../../../common/common-dylan'
-    . ' -L../../../common/getopt'
     . ' -L../../../common/io'
     . ' -L../../../common/stream-ext'
     . ' -L../../../common/string-ext'
@@ -48,6 +48,7 @@
     . ' -L../convert'
     . ' -L../fer-transform'
     . ' -L../front'
+    . ' -L.'
     . ' -L../optimize'
     . ' -L../parser'
     . ' -L../../debugger'

Modified: trunk/src/d2c/compiler/main/main-exports.dylan
==============================================================================
--- trunk/src/d2c/compiler/main/main-exports.dylan	(original)
+++ trunk/src/d2c/compiler/main/main-exports.dylan	Sat Mar 10 19:29:51 2007
@@ -37,7 +37,7 @@
   use Random;
   use debugger;
   use command-processor;
-  use getopt;
+  use command-line-parser;
   use compiler-base;
   use compiler-front;
   use compiler-fer-transform;
@@ -74,7 +74,7 @@
   use substring-search;
   use character-type;
   use random;
-  use getopt;
+  use command-line-parser;
   use option-parser-protocol;
    
   use utils;

Modified: trunk/src/d2c/compiler/main/main.dylan
==============================================================================
--- trunk/src/d2c/compiler/main/main.dylan	(original)
+++ trunk/src/d2c/compiler/main/main.dylan	Sat Mar 10 19:29:51 2007
@@ -35,7 +35,7 @@
 // d2c has a delightfully non-standard '-D' flag with a corresponding '-U'
 // flag which allows you to undefine things (well, sort of). We create a
 // new option parser class to handle these using the option-parser-protocol
-// module from the getopt library.
+// module from the command-line-parser library.
 
 define class <d2c-feature-option-parser> (<negative-option-parser>)
 end class <d2c-feature-option-parser>;

Modified: trunk/src/d2c/runtime/Macintosh/d2c Runtime Heap Stub/runtime-heap-app-exports.dylan
==============================================================================
--- trunk/src/d2c/runtime/Macintosh/d2c Runtime Heap Stub/runtime-heap-app-exports.dylan	(original)
+++ trunk/src/d2c/runtime/Macintosh/d2c Runtime Heap Stub/runtime-heap-app-exports.dylan	Sat Mar 10 19:29:51 2007
@@ -20,7 +20,7 @@
     use Format-Out;						// Format-out
     
     
-    use getopt;				// GetOpt
+    use command-line-parser;				// GetOpt
     
     
     use Matrix;							// Matrix
@@ -86,7 +86,7 @@
 	use Format-Out;						// Format-Out
 	
 	use option-parser-protocol;			// GetOpt
-	use getopt;
+	use command-line-parser;
 	
 	
 	use Matrix;							// Matrix

Modified: trunk/src/d2c/runtime/Makegen
==============================================================================
--- trunk/src/d2c/runtime/Makegen	(original)
+++ trunk/src/d2c/runtime/Makegen	Sat Mar 10 19:29:51 2007
@@ -21,6 +21,6 @@
 		   '../../common/regular-expressions',
 		   '../../common/io',
 		   '../../common/system',
-		   '../../common/getopt',
+		   '../../common/command-line-parser',
 		   '../../common/stream-ext',
 		   '../../common/command-processor');

Modified: trunk/src/tools/melange/Makegen
==============================================================================
--- trunk/src/tools/melange/Makegen	(original)
+++ trunk/src/tools/melange/Makegen	Sat Mar 10 19:29:51 2007
@@ -1,8 +1,8 @@
 $D2CFLAGS         # added by update-libdirs
     = $d2c_runtime
     . ' -L../../common/collection-extensions'
+    . ' -L../../common/command-line-parser'
     . ' -L../../common/common-dylan'
-    . ' -L../../common/getopt'
     . ' -L../../common/io'
     . ' -L../../common/regular-expressions'
     . ' -L../../common/string-ext'

Modified: trunk/src/tools/melange/exports.dylan
==============================================================================
--- trunk/src/tools/melange/exports.dylan	(original)
+++ trunk/src/tools/melange/exports.dylan	Sat Mar 10 19:29:51 2007
@@ -86,7 +86,7 @@
   use regular-expressions;
   use io;
   use system;
-  use getopt;
+  use command-line-parser;
   use melange-c;
   export
     name-mappers;
@@ -183,8 +183,8 @@
   // From system
   use file-system;
 
-  // From getopt
-  use getopt;
+  // From command-line-parser
+  use command-line-parser;
   
   // local packages
   use int-lexer;

Modified: trunk/src/tools/pidgin/src/Makegen
==============================================================================
--- trunk/src/tools/pidgin/src/Makegen	(original)
+++ trunk/src/tools/pidgin/src/Makegen	Sat Mar 10 19:29:51 2007
@@ -1,8 +1,8 @@
 $D2CFLAGS         # added by update-libdirs
     = $d2c_runtime
     . ' -L../../../common/collection-extensions'
+    . ' -L../../../common/command-line-parser'
     . ' -L../../../common/common-dylan'
-    . ' -L../../../common/getopt'
     . ' -L../../../common/io'
     . ' -L../../../common/regular-expressions'
     . ' -L../../../common/string-ext'

Modified: trunk/src/tools/pidgin/src/ansi-c-test-exports.dylan
==============================================================================
--- trunk/src/tools/pidgin/src/ansi-c-test-exports.dylan	(original)
+++ trunk/src/tools/pidgin/src/ansi-c-test-exports.dylan	Sat Mar 10 19:29:51 2007
@@ -3,7 +3,7 @@
 define library ansi-c-test
   use dylan;
   use io;
-  use getopt;
+  use command-line-parser;
   use melange-support;
 
   use parser-utilities;
@@ -19,7 +19,7 @@
   use streams;
   use format;
   use standard-io;
-  use getopt;
+  use command-line-parser;
   use melange-support, import: {call-out};
 
   use parse-conditions;

Modified: trunk/src/tools/pidgin/src/pidgin-exports.dylan
==============================================================================
--- trunk/src/tools/pidgin/src/pidgin-exports.dylan	(original)
+++ trunk/src/tools/pidgin/src/pidgin-exports.dylan	Sat Mar 10 19:29:51 2007
@@ -7,7 +7,7 @@
   use system;
   use dylan;
   use string-extensions;
-  use getopt;
+  use command-line-parser;
   use parser-utilities;
   use ansi-c;
   use c-parser;
@@ -23,7 +23,7 @@
   use locators;
   use format;
   use standard-io;
-  use getopt;
+  use command-line-parser;
   use substring-search;
   use subseq;
   use parse-conditions;

Modified: trunk/src/tools/refman/Makegen
==============================================================================
--- trunk/src/tools/refman/Makegen	(original)
+++ trunk/src/tools/refman/Makegen	Sat Mar 10 19:29:51 2007
@@ -1,16 +1,23 @@
 $D2CFLAGS         # added by update-libdirs
     = $d2c_runtime
     . ' -L../../common/collection-extensions'
+    . ' -L../../common/command-line-parser'
     . ' -L../../common/common-dylan'
-    . ' -L../../common/getopt'
     . ' -L../../common/io'
-    . ' -L../../common/regular-expressions'
+    . ' -L../../common/stream-ext'
     . ' -L../../common/string-ext'
     . ' -L../../common/system'
     . ' -L../../common/table-ext'
+    . ' -L../../d2c/compiler/base'
+    . ' -L../../d2c/compiler/cback'
+    . ' -L../../d2c/compiler/convert'
+    . ' -L../../d2c/compiler/fer-transform'
+    . ' -L../../d2c/compiler/front'
+    . ' -L../../d2c/compiler/main'
+    . ' -L../../d2c/compiler/optimize'
+    . ' -L../../d2c/compiler/parser'
     . ' -L../../d2c/runtime/random'
-    . ' -L../../d2c/runtime/threads'
-    . ' -L.';
+    . ' -L../../d2c/runtime/threads';
 
 if ($features{'compiled_for_win32'}) {
     $c_decl_lid = "win32-vc-decl";

Modified: trunk/src/tools/refman/refman-library.dylan
==============================================================================
--- trunk/src/tools/refman/refman-library.dylan	(original)
+++ trunk/src/tools/refman/refman-library.dylan	Sat Mar 10 19:29:51 2007
@@ -7,8 +7,8 @@
     import: { substring-search };
   use io,
     import: { format, format-out, standard-io, streams };
-  use getopt,
-    import: { getopt };
+  use command-line-parser,
+    import: { command-line-parser };
   use system,
     import: { locators };
   
@@ -29,7 +29,7 @@
   use common-dylan,
     exclude: { format-to-string, direct-superclasses, direct-subclasses };
   use substring-search;
-  use getopt;
+  use command-line-parser;
   use standard-io;
   use format;
   use format-out;



More information about the chatter mailing list