Revision: 57045
          http://sourceforge.net/p/brlcad/code/57045
Author:   starseeker
Date:     2013-08-21 21:07:08 +0000 (Wed, 21 Aug 2013)
Log Message:
-----------
If we're going to make this a library function, put it in express.c

Modified Paths:
--------------
    brlcad/trunk/src/other/stepcode/src/express/express.c
    brlcad/trunk/src/other/stepcode/src/express/fedex.c

Modified: brlcad/trunk/src/other/stepcode/src/express/express.c
===================================================================
--- brlcad/trunk/src/other/stepcode/src/express/express.c       2013-08-21 
21:05:02 UTC (rev 57044)
+++ brlcad/trunk/src/other/stepcode/src/express/express.c       2013-08-21 
21:07:08 UTC (rev 57045)
@@ -250,6 +250,33 @@
     return( "Express Language, IS (N65), October 24, 1994" );
 }
 
+void EXPRESSusage( int _exit ) {
+    fprintf( stderr, "usage: %s [-v] [-d #] [-p <object_type>] {-w|-i 
<warning>} express_file\n", EXPRESSprogram_name );
+    fprintf( stderr, "where\t-v produces the following version description:\n" 
);
+    print_fedex_version();
+    fprintf( stderr, "\t-d turns on debugging (\"-d 0\" describes this 
further\n" );
+    fprintf( stderr, "\t-p turns on printing when processing certain objects 
(see below)\n" );
+    fprintf( stderr, "\t-w warning enable\n" );
+    fprintf( stderr, "\t-i warning ignore\n" );
+    fprintf( stderr, "and <warning> is one of:\n" );
+    fprintf( stderr, "\tnone\n\tall\n" );
+    LISTdo( ERRORwarnings, opt, Error_Warning )
+    fprintf( stderr, "\t%s\n", opt->name );
+    LISTod
+    fprintf( stderr, "and <object_type> is one or more of:\n" );
+    fprintf( stderr, " e       entity\n" );
+    fprintf( stderr, " p       procedure\n" );
+    fprintf( stderr, " r       rule\n" );
+    fprintf( stderr, " f       function\n" );
+    fprintf( stderr, " t       type\n" );
+    fprintf( stderr, " s       schema or file\n" );
+    fprintf( stderr, " #       pass #\n" );
+    fprintf( stderr, " E       everything (all of the above)\n" );
+    if( _exit ) {
+        exit( 2 );
+    }
+}
+
 int EXPRESS_fail( Express model ) {
     ERRORflush_messages();
 

Modified: brlcad/trunk/src/other/stepcode/src/express/fedex.c
===================================================================
--- brlcad/trunk/src/other/stepcode/src/express/fedex.c 2013-08-21 21:05:02 UTC 
(rev 57044)
+++ brlcad/trunk/src/other/stepcode/src/express/fedex.c 2013-08-21 21:07:08 UTC 
(rev 57045)
@@ -94,33 +94,6 @@
     no_need_to_work = 1;
 }
 
-void EXPRESSusage( int _exit ) {
-    fprintf( stderr, "usage: %s [-v] [-d #] [-p <object_type>] {-w|-i 
<warning>} express_file\n", EXPRESSprogram_name );
-    fprintf( stderr, "where\t-v produces the following version description:\n" 
);
-    print_fedex_version();
-    fprintf( stderr, "\t-d turns on debugging (\"-d 0\" describes this 
further\n" );
-    fprintf( stderr, "\t-p turns on printing when processing certain objects 
(see below)\n" );
-    fprintf( stderr, "\t-w warning enable\n" );
-    fprintf( stderr, "\t-i warning ignore\n" );
-    fprintf( stderr, "and <warning> is one of:\n" );
-    fprintf( stderr, "\tnone\n\tall\n" );
-    LISTdo( ERRORwarnings, opt, Error_Warning )
-    fprintf( stderr, "\t%s\n", opt->name );
-    LISTod
-    fprintf( stderr, "and <object_type> is one or more of:\n" );
-    fprintf( stderr, " e       entity\n" );
-    fprintf( stderr, " p       procedure\n" );
-    fprintf( stderr, " r       rule\n" );
-    fprintf( stderr, " f       function\n" );
-    fprintf( stderr, " t       type\n" );
-    fprintf( stderr, " s       schema or file\n" );
-    fprintf( stderr, " #       pass #\n" );
-    fprintf( stderr, " E       everything (all of the above)\n" );
-    if( _exit ) {
-        exit( 2 );
-    }
-}
-
 int main( int argc, char ** argv ) {
     int c;
     int rc;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to