From 721e3d5b48d70b0d2254ebfd9b0c6c954bf5d996 Mon Sep 17 00:00:00 2001 From: cascade Date: Fri, 7 Apr 2006 19:58:02 +0000 Subject: [PATCH] OCC12131 Improvement of Exception mechanism on Unix and Linux platforms cdl, hxx, cxx --- src/CDLFront/CDLFront.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/CDLFront/CDLFront.cxx b/src/CDLFront/CDLFront.cxx index 24f4f22..13c2442 100755 --- a/src/CDLFront/CDLFront.cxx +++ b/src/CDLFront/CDLFront.cxx @@ -1341,9 +1341,9 @@ void Imported_Begin() ErrorMsg << "CDL" << "\"" << CDLFileName->ToCString() << "\"" << ", line " << CDLlineno << ": " << "Imported : " << Imported->FullName() << " is already defined." << endm; YY_nb_error++; } - for (i =1; i <= ListOfComments->Length(); i++) { - Imported->SetComment(ListOfComments->Value(i)); - } + //for (i =1; i <= ListOfComments->Length(); i++) { + // Imported->SetComment(ListOfComments->Value(i)); + //} Private = Standard_False; } @@ -2804,6 +2804,7 @@ int CDLTranslate(const Handle(MS_MetaSchema)& aMetaSchema, CDLFileName = aFileName; try { + OCC_CATCH_SIGNALS ErrorLevel = TraductionMain(aFileName->ToCString()); } catch(Standard_Failure) { -- 2.39.5