dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/support cmdline.c,1.6,1.7


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/support cmdline.c,1.6,1.7
Date: Sat, 14 Dec 2002 17:17:01 -0500

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv21741/support

Modified Files:
        cmdline.c 
Log Message:


Suppress '/' compatibility options when "ilasm" and "ilalink" are called
from "cscc".


Index: cmdline.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/cmdline.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** cmdline.c   13 Dec 2002 11:24:47 -0000      1.6
--- cmdline.c   14 Dec 2002 22:16:59 -0000      1.7
***************
*** 28,35 ****
--- 28,44 ----
  
  /*
+  * Flag that indicates if '/' parsing is suppressed.
+  */
+ static int suppressSlash = 0;
+ 
+ /*
   * Determine if an option list contains '/' compatibility options.
   */
  static int HasSlashOptions(const ILCmdLineOption *options)
  {
+       if(suppressSlash)
+       {
+               return 0;
+       }
        while(options->name != 0)
        {
***************
*** 497,500 ****
--- 506,514 ----
  
  #endif        /* IL_WIN32_NATIVE */
+ 
+ void ILCmdLineSuppressSlash(void)
+ {
+       suppressSlash = 1;
+ }
  
  #ifdef        __cplusplus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]