From ba5519d39d33bf295eca54a51bbe58fe94102927 Mon Sep 17 00:00:00 2001 From: cas Date: Fri, 5 Nov 1999 18:28:10 +0000 Subject: [PATCH] No comments --- src/WOKDeliv/DELIVERY.lex | 10 ++++++++-- src/WOKDeliv/DELIVERY.yacc | 1 + src/WOKDeliv/FILES | 2 +- src/WOKDeliv/WOKDeliv_DelivBuildArchive.cxx | 1 + src/WOKDeliv/WOKDeliv_DelivBuildSource.cxx | 2 +- src/WOKDeliv/WOKDeliv_DelivExecSource.tcl | 2 +- src/WOKDeliv/WOKDeliv_DeliveryDATA.cxx | 1 + src/WOKDeliv/WOKDeliv_DeliveryExecList.cxx | 1 + src/WOKDeliv/WOKDeliv_DeliveryLIB.cxx | 1 + src/WOKDeliv/WOKDeliv_DeliverySOURCES.cxx | 1 + src/WOKDeliv/WOKDeliv_DeliverySTUBClient.cxx | 1 + src/WOKDeliv/WOKDeliv_DeliveryStep.cxx | 1 + src/WOKDeliv/WOKDeliv_ParseDelivery.h | 2 ++ 13 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/WOKDeliv/DELIVERY.lex b/src/WOKDeliv/DELIVERY.lex index c56a8f8..2855803 100755 --- a/src/WOKDeliv/DELIVERY.lex +++ b/src/WOKDeliv/DELIVERY.lex @@ -1,10 +1,16 @@ -%option never-interactive -%option yylineno %{ +#define YY_NO_UNPUT #define yylval DELIVERYlval #include #include +#ifdef WNT +# include +#else +# include +#endif // WNT + +int DELIVERYlineno; void lookup(tok) int tok; diff --git a/src/WOKDeliv/DELIVERY.yacc b/src/WOKDeliv/DELIVERY.yacc index 174e2ed..c34f2fc 100755 --- a/src/WOKDeliv/DELIVERY.yacc +++ b/src/WOKDeliv/DELIVERY.yacc @@ -1,6 +1,7 @@ %{ #include +#include #define yyv DELIVERYv diff --git a/src/WOKDeliv/FILES b/src/WOKDeliv/FILES index 92459bc..ebc3c30 100755 --- a/src/WOKDeliv/FILES +++ b/src/WOKDeliv/FILES @@ -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 + diff --git a/src/WOKDeliv/WOKDeliv_DelivBuildArchive.cxx b/src/WOKDeliv/WOKDeliv_DelivBuildArchive.cxx index 10deafe..a77fa7a 100755 --- a/src/WOKDeliv/WOKDeliv_DelivBuildArchive.cxx +++ b/src/WOKDeliv/WOKDeliv_DelivBuildArchive.cxx @@ -181,6 +181,7 @@ Standard_Boolean WOKDeliv_DelivBuildArchive::BuildArchive ErrorMsg << "WOKStep_ArchiveLibrary" << "Failed : " << libpath->Name() << endm; return Standard_False; + default: break; } return Standard_True; diff --git a/src/WOKDeliv/WOKDeliv_DelivBuildSource.cxx b/src/WOKDeliv/WOKDeliv_DelivBuildSource.cxx index 6169917..cd0126f 100755 --- a/src/WOKDeliv/WOKDeliv_DelivBuildSource.cxx +++ b/src/WOKDeliv/WOKDeliv_DelivBuildSource.cxx @@ -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"); diff --git a/src/WOKDeliv/WOKDeliv_DelivExecSource.tcl b/src/WOKDeliv/WOKDeliv_DelivExecSource.tcl index 4c24f11..808e2fe 100755 --- a/src/WOKDeliv/WOKDeliv_DelivExecSource.tcl +++ b/src/WOKDeliv/WOKDeliv_DelivExecSource.tcl @@ -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 } diff --git a/src/WOKDeliv/WOKDeliv_DeliveryDATA.cxx b/src/WOKDeliv/WOKDeliv_DeliveryDATA.cxx index 721a3fd..b7e4e8b 100755 --- a/src/WOKDeliv/WOKDeliv_DeliveryDATA.cxx +++ b/src/WOKDeliv/WOKDeliv_DeliveryDATA.cxx @@ -97,6 +97,7 @@ Standard_Boolean WOKDeliv_DeliveryDATA::ExecuteMetaStep() case WOKMake_Unprocessed: okexec = Standard_False; break; + default: break; } AddExecDepItem(GetInFileCOMPONENTS(),outfile, Standard_True); } diff --git a/src/WOKDeliv/WOKDeliv_DeliveryExecList.cxx b/src/WOKDeliv/WOKDeliv_DeliveryExecList.cxx index 8fd6577..f9f806d 100755 --- a/src/WOKDeliv/WOKDeliv_DeliveryExecList.cxx +++ b/src/WOKDeliv/WOKDeliv_DeliveryExecList.cxx @@ -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; diff --git a/src/WOKDeliv/WOKDeliv_DeliveryLIB.cxx b/src/WOKDeliv/WOKDeliv_DeliveryLIB.cxx index b756529..6d17997 100755 --- a/src/WOKDeliv/WOKDeliv_DeliveryLIB.cxx +++ b/src/WOKDeliv/WOKDeliv_DeliveryLIB.cxx @@ -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); } diff --git a/src/WOKDeliv/WOKDeliv_DeliverySOURCES.cxx b/src/WOKDeliv/WOKDeliv_DeliverySOURCES.cxx index 24111a0..5b90f14 100755 --- a/src/WOKDeliv/WOKDeliv_DeliverySOURCES.cxx +++ b/src/WOKDeliv/WOKDeliv_DeliverySOURCES.cxx @@ -93,6 +93,7 @@ Standard_Boolean WOKDeliv_DeliverySOURCES::ExecuteMetaStep() case WOKMake_Unprocessed: okexec = Standard_False; break; + default: break; } AddExecDepItem(GetInFileCOMPONENTS(),outfile, Standard_True); } diff --git a/src/WOKDeliv/WOKDeliv_DeliverySTUBClient.cxx b/src/WOKDeliv/WOKDeliv_DeliverySTUBClient.cxx index b6779fd..62b2825 100755 --- a/src/WOKDeliv/WOKDeliv_DeliverySTUBClient.cxx +++ b/src/WOKDeliv/WOKDeliv_DeliverySTUBClient.cxx @@ -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); } diff --git a/src/WOKDeliv/WOKDeliv_DeliveryStep.cxx b/src/WOKDeliv/WOKDeliv_DeliveryStep.cxx index 21f5542..f9dd27b 100755 --- a/src/WOKDeliv/WOKDeliv_DeliveryStep.cxx +++ b/src/WOKDeliv/WOKDeliv_DeliveryStep.cxx @@ -408,6 +408,7 @@ Standard_Boolean WOKDeliv_DeliveryStep::HandleOutputFile(const Handle(WOKMake_Ou ashell->UnLock(); } + default: break; } } return Standard_False; diff --git a/src/WOKDeliv/WOKDeliv_ParseDelivery.h b/src/WOKDeliv/WOKDeliv_ParseDelivery.h index 6dbd7e0..dbd0f0c 100755 --- a/src/WOKDeliv/WOKDeliv_ParseDelivery.h +++ b/src/WOKDeliv/WOKDeliv_ParseDelivery.h @@ -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(); -- 2.39.5