]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Fri, 5 Nov 1999 18:28:10 +0000 (18:28 +0000)
committercas <cas@opencascade.com>
Fri, 5 Nov 1999 18:28:10 +0000 (18:28 +0000)
13 files changed:
src/WOKDeliv/DELIVERY.lex
src/WOKDeliv/DELIVERY.yacc
src/WOKDeliv/FILES
src/WOKDeliv/WOKDeliv_DelivBuildArchive.cxx
src/WOKDeliv/WOKDeliv_DelivBuildSource.cxx
src/WOKDeliv/WOKDeliv_DelivExecSource.tcl
src/WOKDeliv/WOKDeliv_DeliveryDATA.cxx
src/WOKDeliv/WOKDeliv_DeliveryExecList.cxx
src/WOKDeliv/WOKDeliv_DeliveryLIB.cxx
src/WOKDeliv/WOKDeliv_DeliverySOURCES.cxx
src/WOKDeliv/WOKDeliv_DeliverySTUBClient.cxx
src/WOKDeliv/WOKDeliv_DeliveryStep.cxx
src/WOKDeliv/WOKDeliv_ParseDelivery.h

index c56a8f89dfc67fbc9c29bb3a2435d1927a5b5d00..28558038f4263e17e68d133bfaa3a44efbeff5fe 100755 (executable)
@@ -1,10 +1,16 @@
-%option never-interactive
-%option yylineno
 
 %{
+#define YY_NO_UNPUT
 #define yylval DELIVERYlval
 #include <DELIVERY.tab.h>
 #include <WOKDeliv_ParseDelivery.h>
+#ifdef WNT
+# include <io.h>
+#else
+# include <unistd.h>
+#endif  // WNT
+
+int DELIVERYlineno;
 
 void lookup(tok)
 int tok;
index 174e2edfd4d932ed9d50b5e8a80ddc075aaa0faa..c34f2fc2fe15535e9bc74411cf29044075ca2339 100755 (executable)
@@ -1,6 +1,7 @@
 
 %{
 #include <WOKDeliv_ParseDelivery.h>
+#include <stdlib.h>
 
 #define yyv DELIVERYv
 
index 92459bc2bf7030bc75aaefeabe3e385439d0c767..ebc3c30f4e7cc3ad2149308bb58f98f266fbcf3a 100755 (executable)
@@ -1,10 +1,10 @@
 WOKDeliv_CMPLRS.edl
 DELIVERY.lex
 DELIVERY.yacc
-WOKDeliv_CODEGEN.edl
 WOKDeliv_ParseDelivery.h
 WOKDeliv_ParseDelivery.hxx
 WOKDeliv_ParseDelivery.cxx
 WOKDeliv_DelivExecSource.tcl
 WOKDeliv_FRONTALSCRIPT.edl
 WOKDeliv_LDSCRIPT.edl
+
index 10deafe5c7a3f783048f5c3c58216fbc31ed2ce9..a77fa7ab1a91f9edeb2363d6691f54f2a951daae 100755 (executable)
@@ -181,6 +181,7 @@ Standard_Boolean WOKDeliv_DelivBuildArchive::BuildArchive
       ErrorMsg << "WOKStep_ArchiveLibrary"
               << "Failed     : " <<   libpath->Name() << endm;           
       return Standard_False;
+     default: break;
     }
 
   return Standard_True;
index 61699173bc511ea9ce41b0f2108107ee0f07d0e5..cd0126fae3d57658830bea0b37149bd592fa82ed 100755 (executable)
@@ -51,7 +51,7 @@ void WOKDeliv_DelivBuildSource::Execute(const Handle(WOKMake_HSequenceOfInputFil
                                                             thedestunit,
                                                             thedestunit->GetFileType("source"));
          basefile->GetPath();
-         Handle(TCollection_HAsciiString) cmdname = new TCollection_HAsciiString("WOKDeliv_DelivExecSource::Process");
+         Handle(TCollection_HAsciiString) cmdname = new TCollection_HAsciiString("WOKDeliv_DelivExecSource:Process");
          WOKUtils_Trigger execute;
          Handle(TCollection_HAsciiString) tclfilename = new TCollection_HAsciiString("WOKDeliv_DelivExecSource.tcl");
          
index 4c24f119b61df847d879598868f685b8f0d97a09..808e2fe45435455745ced4029459ea04a9e04f80 100755 (executable)
@@ -1,4 +1,4 @@
-proc WOKDeliv_DelivExecSource::Process {unitname destination} {
+proc WOKDeliv_DelivExecSource:Process {unitname destination} {
     upack -c $unitname -o $destination -t source
     return $destination.Z
 }
index 721a3fd2b76d48b0a6651fccd05499dfa9d26fc1..b7e4e8b5fcf528a6a62937c3add2637a68fd14a3 100755 (executable)
@@ -97,6 +97,7 @@ Standard_Boolean WOKDeliv_DeliveryDATA::ExecuteMetaStep()
          case WOKMake_Unprocessed:
            okexec = Standard_False;
            break;
+          default: break;
          }
        AddExecDepItem(GetInFileCOMPONENTS(),outfile, Standard_True);
       }
index 8fd657722d8fcdcc2f1c61d8e8bed1b3eb1573f2..f9f806d9805d7e16cb6c98db968f85e52a7472b4 100755 (executable)
@@ -354,6 +354,7 @@ Standard_Boolean WOKDeliv_DeliveryExecList::ExploreStep(const Handle(WOKMake_Ste
     case WOKMake_Unprocessed:
       okexec = Standard_False;
       break;
+    default: break;
     }
   AddExecDepItem(infileCOMPONENTS,outfile, Standard_True);
   return okexec;
index b756529e1698bbe2d59bb8f69640757506d11d51..6d1799725fa16d4ba95e21a9c1bbd0ab6e9d55f5 100755 (executable)
@@ -84,6 +84,7 @@ void WOKDeliv_DeliveryLIB::Execute(const Handle(WOKMake_HSequenceOfInputFile)&)
                case WOKMake_Unprocessed:
                  okexec = Standard_False;
                  break;
+                 default: break;
                }
              AddExecDepItem(infileCOMPONENTS,outfile, Standard_True);
            }
index 24111a0bfe3e0e2e936e8c233820083eddbcea6d..5b90f1492d92137d0d9f7a299b851b7f1c4311ab 100755 (executable)
@@ -93,6 +93,7 @@ Standard_Boolean WOKDeliv_DeliverySOURCES::ExecuteMetaStep()
        case WOKMake_Unprocessed:
          okexec = Standard_False;
          break;
+        default: break;
        }
       AddExecDepItem(GetInFileCOMPONENTS(),outfile, Standard_True);
     }
index b6779fd6d78a741c2f7f2580c7dc6fe44eb3c147..62b282597864357450e3665b95b0e7bb20fca817 100755 (executable)
@@ -75,6 +75,7 @@ void WOKDeliv_DeliverySTUBClient::Execute(const Handle(WOKMake_HSequenceOfInputF
                case WOKMake_Unprocessed:
                  okexec = Standard_False;
                  break;
+                 default: break;
                }
              AddExecDepItem(infileCOMPONENTS,outfile, Standard_True);
            }
index 21f55425bdf8322fdf0bf6aa7dd56a120b9ebd5e..f9dd27b252f3205b972d6fea845bb5006589e5db 100755 (executable)
@@ -408,6 +408,7 @@ Standard_Boolean WOKDeliv_DeliveryStep::HandleOutputFile(const Handle(WOKMake_Ou
            ashell->UnLock();
            
          }
+          default: break;
        }
     }
   return Standard_False;
index 6dbd7e0992691d52fe907ddf5c75e66c2c57375a..dbd0f0c69eb58add08311d9925075ce894e27673 100755 (executable)
@@ -6,6 +6,8 @@ extern int DELIVERYlineno;
 extern char* TheText;
 extern int TheType;
 extern int TheAttrib;
+extern int DELIVERYlex   ();
+extern int DELIVERYerror ();
 int Traite_PutPath();
 int Traite_PutInclude();
 int Traite_PutLib();