Commit 5a96b0c3 by Christophe Geuzaine

fix Closed option

parent 7f1f859f
Pipeline #381 passed with stage
in 47 seconds
......@@ -117,7 +117,6 @@ ChangeOfCoordinates return tChangeOfCoordinates;
ChangeOfCoordinates2 return tChangeOfCoordinates2;
ChangeOfState return tChangeOfState;
ChangeOfValues return tChangeOfValues;
Closed return tClosed;
CodeName return tCodeName;
Coefficient return tCoefficient;
Comma return tComma;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -353,74 +353,73 @@
tOnPlane = 569,
tOnBox = 570,
tWithArgument = 571,
tClosed = 572,
tFile = 573,
tDepth = 574,
tDimension = 575,
tComma = 576,
tTimeStep = 577,
tHarmonicToTime = 578,
tCosineTransform = 579,
tTimeToHarmonic = 580,
tValueIndex = 581,
tValueName = 582,
tFormat = 583,
tHeader = 584,
tFooter = 585,
tSkin = 586,
tSmoothing = 587,
tTarget = 588,
tSort = 589,
tIso = 590,
tNoNewLine = 591,
tNoTitle = 592,
tDecomposeInSimplex = 593,
tChangeOfValues = 594,
tTimeLegend = 595,
tFrequencyLegend = 596,
tEigenvalueLegend = 597,
tEvaluationPoints = 598,
tStoreInRegister = 599,
tStoreInVariable = 600,
tStoreInField = 601,
tStoreInMeshBasedField = 602,
tStoreMaxInRegister = 603,
tStoreMaxXinRegister = 604,
tStoreMaxYinRegister = 605,
tStoreMaxZinRegister = 606,
tStoreMinInRegister = 607,
tStoreMinXinRegister = 608,
tStoreMinYinRegister = 609,
tStoreMinZinRegister = 610,
tLastTimeStepOnly = 611,
tAppendTimeStepToFileName = 612,
tTimeValue = 613,
tTimeImagValue = 614,
tTimeInterval = 615,
tAppendExpressionToFileName = 616,
tAppendExpressionFormat = 617,
tOverrideTimeStepValue = 618,
tNoMesh = 619,
tSendToServer = 620,
tDate = 621,
tOnelabAction = 622,
tCodeName = 623,
tFixRelativePath = 624,
tAppendToExistingFile = 625,
tAppendStringToFileName = 626,
tDEF = 627,
tOR = 628,
tAND = 629,
tAPPROXEQUAL = 630,
tNOTEQUAL = 631,
tEQUAL = 632,
tGREATERGREATER = 633,
tLESSLESS = 634,
tGREATEROREQUAL = 635,
tLESSOREQUAL = 636,
tCROSSPRODUCT = 637,
UNARYPREC = 638,
tSHOW = 639
tFile = 572,
tDepth = 573,
tDimension = 574,
tComma = 575,
tTimeStep = 576,
tHarmonicToTime = 577,
tCosineTransform = 578,
tTimeToHarmonic = 579,
tValueIndex = 580,
tValueName = 581,
tFormat = 582,
tHeader = 583,
tFooter = 584,
tSkin = 585,
tSmoothing = 586,
tTarget = 587,
tSort = 588,
tIso = 589,
tNoNewLine = 590,
tNoTitle = 591,
tDecomposeInSimplex = 592,
tChangeOfValues = 593,
tTimeLegend = 594,
tFrequencyLegend = 595,
tEigenvalueLegend = 596,
tEvaluationPoints = 597,
tStoreInRegister = 598,
tStoreInVariable = 599,
tStoreInField = 600,
tStoreInMeshBasedField = 601,
tStoreMaxInRegister = 602,
tStoreMaxXinRegister = 603,
tStoreMaxYinRegister = 604,
tStoreMaxZinRegister = 605,
tStoreMinInRegister = 606,
tStoreMinXinRegister = 607,
tStoreMinYinRegister = 608,
tStoreMinZinRegister = 609,
tLastTimeStepOnly = 610,
tAppendTimeStepToFileName = 611,
tTimeValue = 612,
tTimeImagValue = 613,
tTimeInterval = 614,
tAppendExpressionToFileName = 615,
tAppendExpressionFormat = 616,
tOverrideTimeStepValue = 617,
tNoMesh = 618,
tSendToServer = 619,
tDate = 620,
tOnelabAction = 621,
tCodeName = 622,
tFixRelativePath = 623,
tAppendToExistingFile = 624,
tAppendStringToFileName = 625,
tDEF = 626,
tOR = 627,
tAND = 628,
tAPPROXEQUAL = 629,
tNOTEQUAL = 630,
tEQUAL = 631,
tGREATERGREATER = 632,
tLESSLESS = 633,
tGREATEROREQUAL = 634,
tLESSOREQUAL = 635,
tCROSSPRODUCT = 636,
UNARYPREC = 637,
tSHOW = 638
};
#endif
/* Tokens. */
......@@ -738,74 +737,73 @@
#define tOnPlane 569
#define tOnBox 570
#define tWithArgument 571
#define tClosed 572
#define tFile 573
#define tDepth 574
#define tDimension 575
#define tComma 576
#define tTimeStep 577
#define tHarmonicToTime 578
#define tCosineTransform 579
#define tTimeToHarmonic 580
#define tValueIndex 581
#define tValueName 582
#define tFormat 583
#define tHeader 584
#define tFooter 585
#define tSkin 586
#define tSmoothing 587
#define tTarget 588
#define tSort 589
#define tIso 590
#define tNoNewLine 591
#define tNoTitle 592
#define tDecomposeInSimplex 593
#define tChangeOfValues 594
#define tTimeLegend 595
#define tFrequencyLegend 596
#define tEigenvalueLegend 597
#define tEvaluationPoints 598
#define tStoreInRegister 599
#define tStoreInVariable 600
#define tStoreInField 601
#define tStoreInMeshBasedField 602
#define tStoreMaxInRegister 603
#define tStoreMaxXinRegister 604
#define tStoreMaxYinRegister 605
#define tStoreMaxZinRegister 606
#define tStoreMinInRegister 607
#define tStoreMinXinRegister 608
#define tStoreMinYinRegister 609
#define tStoreMinZinRegister 610
#define tLastTimeStepOnly 611
#define tAppendTimeStepToFileName 612
#define tTimeValue 613
#define tTimeImagValue 614
#define tTimeInterval 615
#define tAppendExpressionToFileName 616
#define tAppendExpressionFormat 617
#define tOverrideTimeStepValue 618
#define tNoMesh 619
#define tSendToServer 620
#define tDate 621
#define tOnelabAction 622
#define tCodeName 623
#define tFixRelativePath 624
#define tAppendToExistingFile 625
#define tAppendStringToFileName 626
#define tDEF 627
#define tOR 628
#define tAND 629
#define tAPPROXEQUAL 630
#define tNOTEQUAL 631
#define tEQUAL 632
#define tGREATERGREATER 633
#define tLESSLESS 634
#define tGREATEROREQUAL 635
#define tLESSOREQUAL 636
#define tCROSSPRODUCT 637
#define UNARYPREC 638
#define tSHOW 639
#define tFile 572
#define tDepth 573
#define tDimension 574
#define tComma 575
#define tTimeStep 576
#define tHarmonicToTime 577
#define tCosineTransform 578
#define tTimeToHarmonic 579
#define tValueIndex 580
#define tValueName 581
#define tFormat 582
#define tHeader 583
#define tFooter 584
#define tSkin 585
#define tSmoothing 586
#define tTarget 587
#define tSort 588
#define tIso 589
#define tNoNewLine 590
#define tNoTitle 591
#define tDecomposeInSimplex 592
#define tChangeOfValues 593
#define tTimeLegend 594
#define tFrequencyLegend 595
#define tEigenvalueLegend 596
#define tEvaluationPoints 597
#define tStoreInRegister 598
#define tStoreInVariable 599
#define tStoreInField 600
#define tStoreInMeshBasedField 601
#define tStoreMaxInRegister 602
#define tStoreMaxXinRegister 603
#define tStoreMaxYinRegister 604
#define tStoreMaxZinRegister 605
#define tStoreMinInRegister 606
#define tStoreMinXinRegister 607
#define tStoreMinYinRegister 608
#define tStoreMinZinRegister 609
#define tLastTimeStepOnly 610
#define tAppendTimeStepToFileName 611
#define tTimeValue 612
#define tTimeImagValue 613
#define tTimeInterval 614
#define tAppendExpressionToFileName 615
#define tAppendExpressionFormat 616
#define tOverrideTimeStepValue 617
#define tNoMesh 618
#define tSendToServer 619
#define tDate 620
#define tOnelabAction 621
#define tCodeName 622
#define tFixRelativePath 623
#define tAppendToExistingFile 624
#define tAppendStringToFileName 625
#define tDEF 626
#define tOR 627
#define tAND 628
#define tAPPROXEQUAL 629
#define tNOTEQUAL 630
#define tEQUAL 631
#define tGREATERGREATER 632
#define tLESSLESS 633
#define tGREATEROREQUAL 634
#define tLESSOREQUAL 635
#define tCROSSPRODUCT 636
#define UNARYPREC 637
#define tSHOW 638
......@@ -822,7 +820,7 @@ typedef union YYSTYPE
struct TwoChar c2;
}
/* Line 1529 of yacc.c. */
#line 826 "ProParser.tab.hpp"
#line 824 "ProParser.tab.hpp"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
......
......@@ -342,7 +342,7 @@ struct doubleXstring{
%token tPlot tPrint tPrintGroup tEcho tSendMergeFileRequest tWrite tAdapt
%token tOnGlobal tOnRegion tOnElementsOf
%token tOnGrid tOnSection tOnPoint tOnLine tOnPlane tOnBox
%token tWithArgument tClosed
%token tWithArgument
%token tFile tDepth tDimension tComma tTimeStep tHarmonicToTime
%token tCosineTransform tTimeToHarmonic
%token tValueIndex tValueName
......@@ -7678,21 +7678,16 @@ PrintOption :
{
PostSubOperation_S.Visible = $3 ? false : true;
}
| ',' tClosed
{
PostSubOperation_S.Closed = true;
}
| ',' tClosed FExpr
{
PostSubOperation_S.Closed = $3 ? true : false;
}
| ',' tSTRING CharExpr
{
std::string cat($2);
std::string cat($2), val($3);
Free($2);
if(cat == "Units"){
PostSubOperation_S.Units = $3;
}
else if(cat == "Closed"){
PostSubOperation_S.Closed = (val == "1") ? true : false;
}
else if(cat == "Label"){
PostSubOperation_S.Label = $3;
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5449,7 +5449,7 @@ Onelab server.
Used with @code{SendToServer}, selects the visibility of the exchanged value.
@item Closed
< @var{expression-cst} >
@var{expression-char}
Used with @code{SendToServer}, closes (or opens) the subtree containing
the parameter.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment